Index: cc/layers/layer_impl_unittest.cc |
diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc |
index a9d1839caaa669bb27099687a975f8df09a9e349..019e982c7fd14efc56e0602d731ea401524949e2 100644 |
--- a/cc/layers/layer_impl_unittest.cc |
+++ b/cc/layers/layer_impl_unittest.cc |
@@ -207,7 +207,7 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) { |
// Changing these properties does not cause the layer to be marked as changed |
// but does cause the layer to need to push properties. |
EXECUTE_AND_VERIFY_NEEDS_PUSH_PROPERTIES_AND_SUBTREE_DID_NOT_CHANGE( |
- root->SetElementId(2)); |
+ root->SetElementId(ElementId(2))); |
EXECUTE_AND_VERIFY_NEEDS_PUSH_PROPERTIES_AND_SUBTREE_DID_NOT_CHANGE( |
root->SetMutableProperties(MutableProperty::kOpacity)); |
@@ -352,7 +352,7 @@ TEST(LayerImplTest, VerifyNeedsUpdateDrawProperties) { |
VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES( |
layer->SetTransform(arbitrary_transform)); |
VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetBounds(arbitrary_size)); |
- VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetElementId(2)); |
+ VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetElementId(ElementId(2))); |
VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES( |
layer->SetMutableProperties(MutableProperty::kTransform)); |
} |