diff options
Diffstat (limited to 'chromium/cc/trees/damage_tracker.h')
-rw-r--r-- | chromium/cc/trees/damage_tracker.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chromium/cc/trees/damage_tracker.h b/chromium/cc/trees/damage_tracker.h index bda7579c9d9..2515a563f04 100644 --- a/chromium/cc/trees/damage_tracker.h +++ b/chromium/cc/trees/damage_tracker.h @@ -34,9 +34,7 @@ class CC_EXPORT DamageTracker { DamageTracker& operator=(const DamageTracker&) = delete; - static void UpdateDamageTracking( - LayerTreeImpl* layer_tree_impl, - const RenderSurfaceList& render_surface_list); + static void UpdateDamageTracking(LayerTreeImpl* layer_tree_impl); void DidDrawDamagedArea() { current_damage_ = DamageAccumulator(); @@ -91,8 +89,6 @@ class CC_EXPORT DamageTracker { int bottom_ = 0; }; - DamageAccumulator TrackDamageFromSurfaceMask( - LayerImpl* target_surface_mask_layer); DamageAccumulator TrackDamageFromLeftoverRects(); // These helper functions are used only during UpdateDamageTracking(). @@ -148,10 +144,10 @@ class CC_EXPORT DamageTracker { SortedRectMapForLayers rect_history_for_layers_; SortedRectMapForSurfaces rect_history_for_surfaces_; - unsigned int mailboxId_; + unsigned int mailboxId_ = 0; DamageAccumulator current_damage_; // Damage from contributing render surface and layer - bool has_damage_from_contributing_content_; + bool has_damage_from_contributing_content_ = false; // Damage accumulated since the last call to PrepareForUpdate(). DamageAccumulator damage_for_this_update_; |