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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 2615773003: Replace LayerImpl::sorting_context_id with transform reference. (Closed)
Patch Set: Update tests. Created 3 years, 11 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
Index: cc/trees/occlusion_tracker_unittest.cc
diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc
index 9dc331bfae0bc97dca0aac40ec191e4e68ac7159..8c3120d841ac31ea9b5082300ec659f7f3f50ebc 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -1068,9 +1068,9 @@ class OcclusionTrackerTestLayerBehindCameraDoesNotOcclude
TestContentLayerImpl* layer = this->CreateDrawingLayer(
parent, transform, gfx::PointF(), gfx::Size(100, 100), true);
parent->test_properties()->should_flatten_transform = false;
- parent->Set3dSortingContextId(1);
+ parent->test_properties()->sorting_context_id = 1;
layer->test_properties()->should_flatten_transform = false;
- layer->Set3dSortingContextId(1);
+ layer->test_properties()->sorting_context_id = 1;
this->CalcDrawEtc(parent);
TestOcclusionTrackerWithClip occlusion(gfx::Rect(0, 0, 1000, 1000));

Powered by Google App Engine
This is Rietveld 408576698