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..2330e5b078d2fe1eea0bf20ef9864b45d7a4746c 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->SetRenderingContextId(is_3d_sorted ? 1 : 0); |
} |
void SetLayerPropertiesForTesting(Layer* layer, |