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

Unified Diff: cc/layers/layer.h

Issue 5831706594508800: cc: Cleanup Layer::SetNeedsDisplayInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 5 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/layers/image_layer.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 09f7f714b5dea683f29645a971ac201c87e5fd9b..defbf17320216a8e7083aa1e344dea5b824c9edb 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -419,6 +419,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
void reset_raster_scale_to_unknown() { raster_scale_ = 0.f; }
// This flag is set when layer need repainting/updating.
+ // TODO(enne): Remove this flag and just check update_rect_.
bool needs_display_;
// This flag is set when the layer needs to push properties to the impl
« no previous file with comments | « cc/layers/image_layer.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698