| Index: cc/animation/target_property.cc
|
| diff --git a/cc/animation/target_property.cc b/cc/animation/target_property.cc
|
| deleted file mode 100644
|
| index f39d93d526fea6bfac77ed6e1dcafcfb05d99a26..0000000000000000000000000000000000000000
|
| --- a/cc/animation/target_property.cc
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "cc/animation/target_property.h"
|
| -
|
| -#include "base/macros.h"
|
| -
|
| -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"};
|
| -
|
| -static_assert(static_cast<int>(TargetProperty::LAST_TARGET_PROPERTY) + 1 ==
|
| - arraysize(s_targetPropertyNames),
|
| - "TargetPropertyEnumSize should equal the number of elements in "
|
| - "s_targetPropertyNames");
|
| -
|
| -} // namespace
|
| -
|
| -const char* TargetProperty::GetName(TargetProperty::Type property) {
|
| - return s_targetPropertyNames[property];
|
| -}
|
| -
|
| -} // namespace cc
|
|
|