Index: cc/test/animation_timelines_test_common.cc |
diff --git a/cc/test/animation_timelines_test_common.cc b/cc/test/animation_timelines_test_common.cc |
index d3b80f602da3713b82301da22d2253f9bd439b03..3d67859475083ca132aeb8589256b305832a8012 100644 |
--- a/cc/test/animation_timelines_test_common.cc |
+++ b/cc/test/animation_timelines_test_common.cc |
@@ -31,7 +31,7 @@ void TestLayer::ClearMutatedProperties() { |
opacity_ = 0; |
brightness_ = 0; |
- for (int i = 0; i <= Animation::LAST_TARGET_PROPERTY; ++i) |
+ for (int i = 0; i <= AnimationTargetProperty::LAST_TARGET_PROPERTY; ++i) |
mutated_properties_[i] = false; |
} |
@@ -132,7 +132,7 @@ void TestHostClient::UnregisterLayer(int layer_id, LayerTreeType tree_type) { |
bool TestHostClient::IsPropertyMutated( |
int layer_id, |
LayerTreeType tree_type, |
- Animation::TargetProperty property) const { |
+ AnimationTargetProperty::Enum property) const { |
TestLayer* layer = FindTestLayer(layer_id, tree_type); |
return layer->is_property_mutated(property); |
} |
@@ -141,7 +141,7 @@ void TestHostClient::ExpectFilterPropertyMutated(int layer_id, |
LayerTreeType tree_type, |
float brightness) const { |
TestLayer* layer = FindTestLayer(layer_id, tree_type); |
- EXPECT_TRUE(layer->is_property_mutated(Animation::OPACITY)); |
+ EXPECT_TRUE(layer->is_property_mutated(AnimationTargetProperty::OPACITY)); |
EXPECT_EQ(brightness, layer->brightness()); |
} |
@@ -149,7 +149,7 @@ void TestHostClient::ExpectOpacityPropertyMutated(int layer_id, |
LayerTreeType tree_type, |
float opacity) const { |
TestLayer* layer = FindTestLayer(layer_id, tree_type); |
- EXPECT_TRUE(layer->is_property_mutated(Animation::OPACITY)); |
+ EXPECT_TRUE(layer->is_property_mutated(AnimationTargetProperty::OPACITY)); |
EXPECT_EQ(opacity, layer->opacity()); |
} |
@@ -158,7 +158,7 @@ void TestHostClient::ExpectTransformPropertyMutated(int layer_id, |
int transform_x, |
int transform_y) const { |
TestLayer* layer = FindTestLayer(layer_id, tree_type); |
- EXPECT_TRUE(layer->is_property_mutated(Animation::OPACITY)); |
+ EXPECT_TRUE(layer->is_property_mutated(AnimationTargetProperty::OPACITY)); |
EXPECT_EQ(transform_x, layer->transform_x()); |
EXPECT_EQ(transform_y, layer->transform_y()); |
} |
@@ -180,13 +180,13 @@ TestAnimationDelegate::TestAnimationDelegate() |
void TestAnimationDelegate::NotifyAnimationStarted( |
base::TimeTicks monotonic_time, |
- Animation::TargetProperty target_property, |
+ AnimationTargetProperty::Enum target_property, |
int group) { |
started_ = true; |
} |
void TestAnimationDelegate::NotifyAnimationFinished( |
base::TimeTicks monotonic_time, |
- Animation::TargetProperty target_property, |
+ AnimationTargetProperty::Enum target_property, |
int group) { |
finished_ = true; |
} |