Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4990)

Unified Diff: cc/trees/damage_tracker.h

Issue 13285002: cc: Consolidate LayerList types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/damage_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/damage_tracker.h
diff --git a/cc/trees/damage_tracker.h b/cc/trees/damage_tracker.h
index a5c1c544ec2e7826145c295d0b0f7f1d806b5fbf..f09fe32cde074b6bc1627564c224da4249dd4194 100644
--- a/cc/trees/damage_tracker.h
+++ b/cc/trees/damage_tracker.h
@@ -9,6 +9,7 @@
#include "base/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
+#include "cc/layers/layer_lists.h"
#include "ui/gfx/rect_f.h"
class SkImageFilter;
@@ -37,7 +38,7 @@ class CC_EXPORT DamageTracker {
void DidDrawDamagedArea() { current_damage_rect_ = gfx::RectF(); }
void ForceFullDamageNextUpdate() { force_full_damage_next_update_ = true; }
void UpdateDamageTrackingState(
- const std::vector<LayerImpl*>& layer_list,
+ const LayerImplList& layer_list,
int target_surface_layer_id,
bool target_surface_property_changed_only_from_descendant,
gfx::Rect target_surface_content_rect,
@@ -51,7 +52,7 @@ class CC_EXPORT DamageTracker {
DamageTracker();
gfx::RectF TrackDamageFromActiveLayers(
- const std::vector<LayerImpl*>& layer_list,
+ const LayerImplList& layer_list,
int target_surface_layer_id);
gfx::RectF TrackDamageFromSurfaceMask(LayerImpl* target_surface_mask_layer);
gfx::RectF TrackDamageFromLeftoverRects();
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/damage_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698