| Index: cc/animation/mutable_properties.h
|
| diff --git a/cc/animation/mutable_properties.h b/cc/animation/mutable_properties.h
|
| index dfe06b69452228506e940112a5217fe879c164a5..daec22566b9808a6e7f63e5a80d9da73be61cd27 100644
|
| --- a/cc/animation/mutable_properties.h
|
| +++ b/cc/animation/mutable_properties.h
|
| @@ -5,14 +5,18 @@
|
| #ifndef CC_ANIMATION_MUTABLE_PROPERTIES_H_
|
| #define CC_ANIMATION_MUTABLE_PROPERTIES_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| namespace cc {
|
|
|
| -enum MutableProperty {
|
| - kMutablePropertyNone = 0,
|
| - kMutablePropertyOpacity = 1 << 0,
|
| - kMutablePropertyScrollLeft = 1 << 1,
|
| - kMutablePropertyScrollTop = 1 << 2,
|
| - kMutablePropertyTransform = 1 << 3,
|
| +struct MutableProperty {
|
| + enum : uint32_t { kNone = 0 };
|
| + enum : uint32_t { kOpacity = 1 << 0 };
|
| + enum : uint32_t { kScrollLeft = 1 << 1 };
|
| + enum : uint32_t { kScrollTop = 1 << 2 };
|
| + enum : uint32_t { kTransform = 1 << 3 };
|
| +
|
| + enum : int { kNumProperties = 4 };
|
| };
|
|
|
| } // namespace cc
|
|
|