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

Unified Diff: cc/test/fake_picture_layer.cc

Issue 2128633002: cc: Set up the framework to restrict access to Layer internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move out the inner struct. Created 4 years, 5 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/layers/video_layer.cc ('k') | cc/test/layer_internals_for_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer.cc
diff --git a/cc/test/fake_picture_layer.cc b/cc/test/fake_picture_layer.cc
index 291342cdab21a39c7d8866740b13235ba66a80a3..a4e9e8f4466f5b8000fae0dd0c17e95ad8ceba3e 100644
--- a/cc/test/fake_picture_layer.cc
+++ b/cc/test/fake_picture_layer.cc
@@ -32,8 +32,8 @@ FakePictureLayer::~FakePictureLayer() {}
std::unique_ptr<LayerImpl> FakePictureLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
if (is_mask())
- return FakePictureLayerImpl::CreateMask(tree_impl, layer_id_);
- return FakePictureLayerImpl::Create(tree_impl, layer_id_);
+ return FakePictureLayerImpl::CreateMask(tree_impl, id());
+ return FakePictureLayerImpl::Create(tree_impl, id());
}
bool FakePictureLayer::Update() {
« no previous file with comments | « cc/layers/video_layer.cc ('k') | cc/test/layer_internals_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698