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

Unified Diff: cc/layers/layer_impl.h

Issue 2053983003: cc : Move LayerImpl::parent to test properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 6 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_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 0c3975d353afe61779925a90fcafa2364c95f475..803e528d6538b006093b32a6a7baeef4306db9fb 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -102,10 +102,8 @@ class CC_EXPORT LayerImpl {
bool IsActive() const;
// Tree structure.
- LayerImpl* parent() { return parent_; }
void AddChild(std::unique_ptr<LayerImpl> child);
std::unique_ptr<LayerImpl> RemoveChildForTesting(LayerImpl* child);
- void SetParent(LayerImpl* parent);
void DistributeScroll(ScrollState* scroll_state);
void ApplyScroll(ScrollState* scroll_state);
@@ -516,9 +514,6 @@ class CC_EXPORT LayerImpl {
virtual const char* LayerTypeAsString() const;
- // Properties internal to LayerImpl
- LayerImpl* parent_;
-
int layer_id_;
LayerTreeImpl* layer_tree_impl_;
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698