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

Unified Diff: cc/layers/layer.h

Issue 572353003: Fix RemoveFromScrollTree and RemoveFromClipTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2125
Patch Set: Created 6 years, 3 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 | « no previous file | 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 dfbbdf7b6f732d3591cc6852cd262b9e2ced25d7..3ac6cd4004867d25d3558c2f8d81619d0ff6aeba 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -503,14 +503,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
bool IsPropertyChangeAllowed() const;
- // If this layer has a scroll parent, it removes |this| from its list of
- // scroll children.
- void RemoveFromScrollTree();
-
- // If this layer has a clip parent, it removes |this| from its list of clip
- // children.
- void RemoveFromClipTree();
-
void reset_raster_scale_to_unknown() { raster_scale_ = 0.f; }
// This flag is set when the layer needs to push properties to the impl
@@ -570,6 +562,14 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
virtual void OnAnimationWaitingForDeletion() OVERRIDE;
virtual bool IsActive() const OVERRIDE;
+ // If this layer has a scroll parent, it removes |this| from its list of
+ // scroll children.
+ void RemoveFromScrollTree();
+
+ // If this layer has a clip parent, it removes |this| from its list of clip
+ // children.
+ void RemoveFromClipTree();
+
LayerList children_;
Layer* parent_;
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698