Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.cpp

Issue 1599673002: compositor-worker: Remove code from cc_blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to HashMap. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698