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

Unified Diff: ui/compositor/scoped_layer_animation_settings.cc

Issue 134453004: Use a bitfield to store animatable properties. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build error 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
Index: ui/compositor/scoped_layer_animation_settings.cc
diff --git a/ui/compositor/scoped_layer_animation_settings.cc b/ui/compositor/scoped_layer_animation_settings.cc
index 84456ee5bc16c3268aae4bf593770c4b425eeddc..104bd4bace700db3e0c078fdaf0eb4f2e72f75a0 100644
--- a/ui/compositor/scoped_layer_animation_settings.cc
+++ b/ui/compositor/scoped_layer_animation_settings.cc
@@ -61,9 +61,7 @@ class InvertingObserver : public ImplicitAnimationObserver {
"Inverse supported only for single element sequences.";
LayerAnimationElement* element = sequence->FirstElement();
- LayerAnimationElement::AnimatableProperties transform_property;
- transform_property.insert(LayerAnimationElement::TRANSFORM);
- DCHECK(transform_property == element->properties())
+ DCHECK(LayerAnimationElement::TRANSFORM == element->properties())
sky 2014/01/13 14:26:42 DCHECK_EQ
Ian Vollick 2014/01/13 19:03:59 Done.
<< "Only transform animations are currently invertible.";
scoped_ptr<LayerAnimationElement> to_return(

Powered by Google App Engine
This is Rietveld 408576698