| Index: third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..91907617758fdec2f2fab592268bc093df5bc731
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.cpp
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 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 "platform/graphics/CompositorMutableProperties.h"
|
| +
|
| +#include "cc/animation/mutable_properties.h"
|
| +
|
| +namespace blink {
|
| +
|
| +static_assert(
|
| + static_cast<cc::MutableProperty>(CompositorMutablePropertyNone) == cc::kMutablePropertyNone,
|
| + "MutableProperty and CompositorMutableProperty enums must match");
|
| +
|
| +static_assert(
|
| + static_cast<cc::MutableProperty>(CompositorMutablePropertyOpacity) == cc::kMutablePropertyOpacity,
|
| + "MutableProperty and CompositorMutableProperty enums must match");
|
| +
|
| +static_assert(
|
| + static_cast<cc::MutableProperty>(CompositorMutablePropertyScrollLeft) == cc::kMutablePropertyScrollLeft,
|
| + "MutableProperty and CompositorMutableProperty enums must match");
|
| +
|
| +static_assert(
|
| + static_cast<cc::MutableProperty>(CompositorMutablePropertyScrollTop) == cc::kMutablePropertyScrollTop,
|
| + "MutableProperty and CompositorMutableProperty enums must match");
|
| +
|
| +static_assert(
|
| + static_cast<cc::MutableProperty>(CompositorMutablePropertyTransform) == cc::kMutablePropertyTransform,
|
| + "MutableProperty and CompositorMutableProperty enums must match");
|
| +
|
| +} // namespace blink
|
|
|