| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/port.h" | 6 #include "base/port.h" |
| 7 #include "cc/layers/compositing_reasons.h" | 7 #include "cc/layers/compositing_reasons.h" |
| 8 #include "third_party/WebKit/public/platform/WebCompositingReasons.h" | 8 #include "third_party/WebKit/public/platform/WebCompositingReasons.h" |
| 9 | 9 |
| 10 #define COMPILE_ASSERT_MATCHING_UINT64(cc_name, webkit_name) \ | 10 #define COMPILE_ASSERT_MATCHING_UINT64(cc_name, webkit_name) \ |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 cc::kCompositingReasonLayerForMask, | 138 cc::kCompositingReasonLayerForMask, |
| 139 blink::CompositingReasonLayerForMask); | 139 blink::CompositingReasonLayerForMask); |
| 140 | 140 |
| 141 COMPILE_ASSERT_MATCHING_UINT64( | 141 COMPILE_ASSERT_MATCHING_UINT64( |
| 142 cc::kCompositingReasonOverflowScrollingParent, | 142 cc::kCompositingReasonOverflowScrollingParent, |
| 143 blink::CompositingReasonOverflowScrollingParent); | 143 blink::CompositingReasonOverflowScrollingParent); |
| 144 | 144 |
| 145 COMPILE_ASSERT_MATCHING_UINT64( | 145 COMPILE_ASSERT_MATCHING_UINT64( |
| 146 cc::kCompositingReasonOutOfFlowClipping, | 146 cc::kCompositingReasonOutOfFlowClipping, |
| 147 blink::CompositingReasonOutOfFlowClipping); | 147 blink::CompositingReasonOutOfFlowClipping); |
| 148 |
| 149 COMPILE_ASSERT_MATCHING_UINT64( |
| 150 cc::kCompositingReasonIsolateCompositedDescendants, |
| 151 blink::CompositingReasonIsolateCompositedDescendants); |
| OLD | NEW |