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 86ffd2809c37efdb0eee198c5bb9f26bb760d207..5f182de775325c1793376f6b5ac81c54f09108c8 100644 |
--- a/cc/test/fake_layer_tree_host.h |
+++ b/cc/test/fake_layer_tree_host.h |
@@ -49,10 +49,14 @@ class FakeLayerTreeHost : public LayerTreeHost { |
const RendererCapabilities& GetRendererCapabilities() const override; |
void SetNeedsCommit() override; |
void SetNeedsUpdateLayers() override {} |
- void SetNeedsFullTreeSync() override {} |
- using LayerTreeHost::SetRootLayer; |
- using LayerTreeHost::root_layer; |
+ 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(); |
+ } |
LayerImpl* CommitAndCreateLayerImplTree(); |
LayerImpl* CommitAndCreatePendingTree(); |