cc: Clean up Layer and the Layer public API.
To create a distinction between the Layer data that is received from
the embedder and values that are internally cached or set during
PropertyTree building, move the embedder data, callbacks and interfaces
into a seperate struct.
Also move public methods on Layer which are meant to be used internally
in cc but shouldn't be made available to the embedder to private and
restrict access using an explicit friend list.
The patch only moves the variables and method declarations and should
be a no-op.
BUG=625284
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review-Url: https://codereview.chromium.org/2128633002
Cr-Commit-Position: refs/heads/master@{#404286}
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc
index 5ac778c..f91e69d3 100644
--- a/cc/trees/tree_synchronizer_unittest.cc
+++ b/cc/trees/tree_synchronizer_unittest.cc
@@ -60,7 +60,7 @@
std::unique_ptr<LayerImpl> CreateLayerImpl(
LayerTreeImpl* tree_impl) override {
- return MockLayerImpl::Create(tree_impl, layer_id_);
+ return MockLayerImpl::Create(tree_impl, id());
}
void PushPropertiesTo(LayerImpl* layer_impl) override {