OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "platform/graphics/CompositorMutableProperties.h" |
| 6 |
| 7 #include "cc/animation/mutable_properties.h" |
| 8 |
| 9 namespace blink { |
| 10 |
| 11 static_assert( |
| 12 static_cast<cc::MutableProperty>(CompositorMutablePropertyNone) == cc::kMuta
blePropertyNone, |
| 13 "MutableProperty and CompositorMutableProperty enums must match"); |
| 14 |
| 15 static_assert( |
| 16 static_cast<cc::MutableProperty>(CompositorMutablePropertyOpacity) == cc::kM
utablePropertyOpacity, |
| 17 "MutableProperty and CompositorMutableProperty enums must match"); |
| 18 |
| 19 static_assert( |
| 20 static_cast<cc::MutableProperty>(CompositorMutablePropertyScrollLeft) == cc:
:kMutablePropertyScrollLeft, |
| 21 "MutableProperty and CompositorMutableProperty enums must match"); |
| 22 |
| 23 static_assert( |
| 24 static_cast<cc::MutableProperty>(CompositorMutablePropertyScrollTop) == cc::
kMutablePropertyScrollTop, |
| 25 "MutableProperty and CompositorMutableProperty enums must match"); |
| 26 |
| 27 static_assert( |
| 28 static_cast<cc::MutableProperty>(CompositorMutablePropertyTransform) == cc::
kMutablePropertyTransform, |
| 29 "MutableProperty and CompositorMutableProperty enums must match"); |
| 30 |
| 31 } // namespace blink |
OLD | NEW |