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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintChunksToCcLayer.cpp

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/compositing/PaintChunksToCcLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintChunksToCcLayer.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintChunksToCcLayer.cpp
index 8b0b073dfec70136b0f217834cff77da387a2a33..bceb3f05a41b16402fbb9d489020858904771ba5 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintChunksToCcLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintChunksToCcLayer.cpp
@@ -180,9 +180,7 @@ static void recordPairedEndDisplayItems(
static gfx::Rect largeRect(-200000, -200000, 400000, 400000);
static void appendDisplayItemToCcDisplayItemList(const DisplayItem& displayItem,
cc::DisplayItemList* list) {
- DCHECK(DisplayItem::isDrawingType(displayItem.getType()) ||
- displayItem.getType() == DisplayItem::kSubsequence ||
- displayItem.getType() == DisplayItem::kEndSubsequence);
+ DCHECK(DisplayItem::isDrawingType(displayItem.getType()));
if (DisplayItem::isDrawingType(displayItem.getType())) {
sk_sp<const PaintRecord> record =
static_cast<const DrawingDisplayItem&>(displayItem).GetPaintRecord();
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698