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..9ab0673f1af08d8fecc44ed36da2a35f1fd9ccb3 100644 |
--- a/ui/compositor/scoped_layer_animation_settings.cc |
+++ b/ui/compositor/scoped_layer_animation_settings.cc |
@@ -61,10 +61,10 @@ 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()) |
- << "Only transform animations are currently invertible."; |
+ DCHECK_EQ(static_cast<LayerAnimationElement::AnimatableProperties>( |
+ LayerAnimationElement::TRANSFORM), |
+ element->properties()) |
+ << "Only transform animations are currently invertible."; |
scoped_ptr<LayerAnimationElement> to_return( |
LayerAnimationElement::CreateInverseTransformElement(base, element)); |