Index: ui/compositor/test/layer_animator_test_controller.cc |
diff --git a/ui/compositor/test/layer_animator_test_controller.cc b/ui/compositor/test/layer_animator_test_controller.cc |
index b7b8c4064ced447645ab5dcb6f8ce1ef0cf43c6b..befbd442a4b9ea3c6b3ee418b5185769d9ca9f95 100644 |
--- a/ui/compositor/test/layer_animator_test_controller.cc |
+++ b/ui/compositor/test/layer_animator_test_controller.cc |
@@ -41,8 +41,7 @@ void LayerAnimatorTestController::StartThreadedAnimationsIfNeeded() { |
continue; |
LayerAnimationElement* element = sequence->CurrentElement(); |
- if (element->properties().find(animatable_property) == |
- element->properties().end()) |
+ if (!(element->properties() & animatable_property)) |
continue; |
if (!element->Started() || |