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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h

Issue 2793233002: Remove begin/end subseq. display items, and store on PaintController instead. (Closed)
Patch Set: none Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
deleted file mode 100644
index 611ca093808d1dbb4581c5b42d1677e5989982af..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
+++ /dev/null
@@ -1,34 +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 SubsequenceDisplayItem_h
-#define SubsequenceDisplayItem_h
-
-#include "platform/geometry/FloatRect.h"
-#include "platform/graphics/paint/DisplayItem.h"
-#include "platform/wtf/Assertions.h"
-
-namespace blink {
-
-class BeginSubsequenceDisplayItem final : public PairedBeginDisplayItem {
- public:
- BeginSubsequenceDisplayItem(const DisplayItemClient& client)
- : PairedBeginDisplayItem(client, kSubsequence, sizeof(*this)) {}
-};
-
-class EndSubsequenceDisplayItem final : public PairedEndDisplayItem {
- public:
- EndSubsequenceDisplayItem(const DisplayItemClient& client)
- : PairedEndDisplayItem(client, kEndSubsequence, sizeof(*this)) {}
-
-#if DCHECK_IS_ON()
- bool isEndAndPairedWith(DisplayItem::Type otherType) const final {
- return getType() == kEndSubsequence && otherType == kSubsequence;
- }
-#endif
-};
-
-} // namespace blink
-
-#endif // SubsequenceDisplayItem_h

Powered by Google App Engine
This is Rietveld 408576698