OLD | NEW |
| (Empty) |
1 // Copyright 2014 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 "config.h" | |
6 #include "core/rendering/PaintPhase.h" | |
7 | |
8 #include "platform/graphics/paint/DisplayItem.h" | |
9 #include "wtf/Assertions.h" | |
10 | |
11 namespace blink { | |
12 | |
13 // DisplayItem types must be kept in sync with PaintPhase. | |
14 COMPILE_ASSERT((unsigned)DisplayItem::DrawingPaintPhaseBlockBackground == (unsig
ned)PaintPhaseBlockBackground, DisplayItem_Type_should_stay_in_sync); | |
15 COMPILE_ASSERT((unsigned)DisplayItem::DrawingPaintPhaseClippingMask == (unsigned
)PaintPhaseClippingMask, DisplayItem_Type_should_stay_in_sync); | |
16 | |
17 } // namespace blink | |
OLD | NEW |