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

Unified Diff: cc/layers/layer.h

Issue 5831706594508800: cc: Cleanup Layer::SetNeedsDisplayInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix image layers 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
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index fb63c4c0d6c99da68c1ab635b01545d9ea629f03..40ab8f8555f9ed24b3c701bf37afd83c503802eb 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -408,6 +408,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

Powered by Google App Engine
This is Rietveld 408576698