Index: Source/core/rendering/PaintPhase.cpp |
diff --git a/Source/core/rendering/PaintPhase.cpp b/Source/core/rendering/PaintPhase.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b24895aa3de4cae0ed9dbcdb71d8604cdf27f9dd |
--- /dev/null |
+++ b/Source/core/rendering/PaintPhase.cpp |
@@ -0,0 +1,17 @@ |
+// Copyright 2014 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 "config.h" |
+#include "core/rendering/PaintPhase.h" |
+ |
+#include "platform/graphics/paint/DisplayItem.h" |
+#include "wtf/Assertions.h" |
+ |
+namespace blink { |
+ |
+// DisplayItem types must be kept in sync with PaintPhase. |
+COMPILE_ASSERT((unsigned)DisplayItem::DrawingPaintPhaseBlockBackground == (unsigned)PaintPhaseBlockBackground, DisplayItem_Type_should_stay_in_sync); |
+COMPILE_ASSERT((unsigned)DisplayItem::DrawingPaintPhaseClippingMask == (unsigned)PaintPhaseClippingMask, DisplayItem_Type_should_stay_in_sync); |
+ |
+} // namespace blink |