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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 1832663002: cc : Determine if a layer is root by using the value in LayerTreeImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index a137011597039388d09e585c679c01834a19b6cd..d6a405d2419da084d076ab1fe882a8c8d698de53 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -132,6 +132,8 @@ class CC_EXPORT LayerTreeImpl {
// ---------------------------------------------------------------------------
LayerImpl* root_layer() const { return root_layer_; }
void SetRootLayer(scoped_ptr<LayerImpl>);
+ bool IsRootLayer(LayerImpl* layer) const;
ajuma 2016/03/23 23:27:28 Given that we have the version below that takes a
jaydasika 2016/03/24 00:14:38 Removed
+ bool IsRootLayer(const LayerImpl* layer) const;
scoped_ptr<OwnedLayerImplList> DetachLayers();
void ClearLayers();

Powered by Google App Engine
This is Rietveld 408576698