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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 2035863003: cc: Add mask and replica layer ids to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review 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 | « cc/trees/occlusion_tracker.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion_tracker_unittest.cc
diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc
index 78ad3ea0d3d240655ade3a964152b97aed12eac7..7c113004b237cec3f4686bc88f938e16c8e76c08 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -301,11 +301,11 @@ class OcclusionTrackerTest : public testing::Test {
void SetReplica(LayerImpl* owning_layer, std::unique_ptr<LayerImpl> layer) {
// We need to set parent on replica layer for property tree building.
layer->SetParent(owning_layer);
- owning_layer->SetReplicaLayer(std::move(layer));
+ owning_layer->test_properties()->SetReplicaLayer(std::move(layer));
}
void SetMask(LayerImpl* owning_layer, std::unique_ptr<LayerImpl> layer) {
- owning_layer->SetMaskLayer(std::move(layer));
+ owning_layer->test_properties()->SetMaskLayer(std::move(layer));
}
bool opaque_layers_;
« no previous file with comments | « cc/trees/occlusion_tracker.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698