Index: cc/test/layer_tree_host_common_test.h |
diff --git a/cc/test/layer_tree_host_common_test.h b/cc/test/layer_tree_host_common_test.h |
index 38dd85ac3518a188f8dc5e4d5ddc1297fb41c25e..67eb6cc58b3da0af29b229a57c1154352fc5c0ef 100644 |
--- a/cc/test/layer_tree_host_common_test.h |
+++ b/cc/test/layer_tree_host_common_test.h |
@@ -43,7 +43,7 @@ class LayerTreeHostCommonTestBase { |
layer->SetPosition(position); |
layer->SetBounds(bounds); |
layer->SetShouldFlattenTransform(flatten_transform); |
- layer->SetIs3dSorted(is_3d_sorted); |
+ layer->Set3dSortingContextId(is_3d_sorted ? 1 : 0); |
} |
void SetLayerPropertiesForTesting(Layer* layer, |