Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(804)

Unified Diff: ui/compositor/test/layer_animator_test_controller.cc

Issue 134453004: Use a bitfield to store animatable properties. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another win build error (signed/unsigned comp). Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/compositor/scoped_layer_animation_settings.cc ('k') | ui/views/corewm/window_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() ||
« no previous file with comments | « ui/compositor/scoped_layer_animation_settings.cc ('k') | ui/views/corewm/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698