Index: cc/trees/layer_tree_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc |
index 8db2b9567c4ec679ebd77751b54fdcd326c7d3ec..345cb1f3ae309160e411c847b79f2aa278b8c6fe 100644 |
--- a/cc/trees/layer_tree_impl_unittest.cc |
+++ b/cc/trees/layer_tree_impl_unittest.cc |
@@ -983,7 +983,7 @@ TEST_F(LayerTreeImplTest, HitTestingForMultipleLayersAtVaryingDepths) { |
false); |
root->SetDrawsContent(true); |
root->SetShouldFlattenTransform(false); |
- root->SetIs3dSorted(true); |
+ root->SetRenderingContextId(1); // For 3D sorting |
danakj
2014/06/15 18:15:36
If every call of this method needs a comment expla
troyhildebrandt
2014/06/17 00:29:43
Changed to Set3dSortingContextId for Layer/LayerIm
|
{ |
// child 1 and child2 are initialized to overlap between x=50 and x=60. |
// grand_child is set to overlap both child1 and child2 between y=50 and |
@@ -1009,7 +1009,7 @@ TEST_F(LayerTreeImplTest, HitTestingForMultipleLayersAtVaryingDepths) { |
false); |
child1->SetDrawsContent(true); |
child1->SetShouldFlattenTransform(false); |
- child1->SetIs3dSorted(true); |
+ child1->SetRenderingContextId(1); // For 3D sorting |
position = gfx::PointF(50.f, 10.f); |
bounds = gfx::Size(50, 50); |
@@ -1024,7 +1024,7 @@ TEST_F(LayerTreeImplTest, HitTestingForMultipleLayersAtVaryingDepths) { |
false); |
child2->SetDrawsContent(true); |
child2->SetShouldFlattenTransform(false); |
- child2->SetIs3dSorted(true); |
+ child2->SetRenderingContextId(1); // For 3D sorting; |
// Remember that grand_child is positioned with respect to its parent (i.e. |
// child1). In screen space, the intended position is (10, 50), with size |