Index: Source/platform/graphics/paint/SubtreeDisplayItem.h |
diff --git a/Source/platform/graphics/paint/SubtreeDisplayItem.h b/Source/platform/graphics/paint/SubtreeDisplayItem.h |
deleted file mode 100644 |
index 67e87db149033fb284fa728d1f816fb2c94b032c..0000000000000000000000000000000000000000 |
--- a/Source/platform/graphics/paint/SubtreeDisplayItem.h |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-// Copyright 2015 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. |
- |
-#ifndef SubtreeDisplayItem_h |
-#define SubtreeDisplayItem_h |
- |
-#include "platform/geometry/FloatRect.h" |
-#include "platform/graphics/paint/DisplayItem.h" |
-#include "wtf/Assertions.h" |
- |
-namespace blink { |
- |
-class BeginSubtreeDisplayItem final : public PairedBeginDisplayItem { |
-public: |
- BeginSubtreeDisplayItem(const DisplayItemClientWrapper& client, Type type) |
- : PairedBeginDisplayItem(client, type, sizeof(*this)) |
- { |
- ASSERT(isBeginSubtreeType(type)); |
- } |
-}; |
- |
-class EndSubtreeDisplayItem final : public PairedEndDisplayItem { |
-public: |
- EndSubtreeDisplayItem(const DisplayItemClientWrapper& client, Type type) |
- : PairedEndDisplayItem(client, type, sizeof(*this)) |
- { |
- ASSERT(isEndSubtreeType(type)); |
- } |
- |
-#if ENABLE(ASSERT) |
- bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return DisplayItem::isBeginSubtreeType(otherType); } |
-#endif |
-}; |
- |
-} // namespace blink |
- |
-#endif // SubtreeDisplayItem_h |