Chromium Code Reviews| 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( |