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

Unified Diff: cc/test/fake_layer_tree_host.h

Issue 2253143002: Revert of cc: Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@layer_tree_change
Patch Set: Created 4 years, 4 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/proto/layer_tree_host.proto ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host.h
diff --git a/cc/test/fake_layer_tree_host.h b/cc/test/fake_layer_tree_host.h
index 5f182de775325c1793376f6b5ac81c54f09108c8..86ffd2809c37efdb0eee198c5bb9f26bb760d207 100644
--- a/cc/test/fake_layer_tree_host.h
+++ b/cc/test/fake_layer_tree_host.h
@@ -49,14 +49,10 @@
const RendererCapabilities& GetRendererCapabilities() const override;
void SetNeedsCommit() override;
void SetNeedsUpdateLayers() override {}
+ void SetNeedsFullTreeSync() override {}
- void SetRootLayer(scoped_refptr<Layer> root_layer) {
- layer_tree_->SetRootLayer(root_layer);
- }
- Layer* root_layer() const { return layer_tree_->root_layer(); }
- PropertyTrees* property_trees() const {
- return layer_tree_->property_trees();
- }
+ using LayerTreeHost::SetRootLayer;
+ using LayerTreeHost::root_layer;
LayerImpl* CommitAndCreateLayerImplTree();
LayerImpl* CommitAndCreatePendingTree();
« no previous file with comments | « cc/proto/layer_tree_host.proto ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698