| Index: cc/animation/target_property.cc
|
| diff --git a/cc/animation/target_property.cc b/cc/animation/target_property.cc
|
| index 15144a7cf5f84e6ab22de16a30902749bb1621f0..f39d93d526fea6bfac77ed6e1dcafcfb05d99a26 100644
|
| --- a/cc/animation/target_property.cc
|
| +++ b/cc/animation/target_property.cc
|
| @@ -10,6 +10,9 @@ namespace cc {
|
|
|
| namespace {
|
|
|
| +static_assert(TargetProperty::FIRST_TARGET_PROPERTY == 0,
|
| + "TargetProperty must be 0-based enum");
|
| +
|
| // This should match the TargetProperty enum.
|
| static const char* const s_targetPropertyNames[] = {
|
| "TRANSFORM", "OPACITY", "FILTER", "SCROLL_OFFSET", "BACKGROUND_COLOR"};
|
|
|