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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp

Issue 1471353002: Paint red fill after checking CachedDisplayItemList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on https://codereview.chromium.org/1469123005/ Created 5 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
index bef27b8ddf4606b5deb2a55d60cf4cdfe98d671a..7d2ceea4464a7eb69b3ce90f2f3eccb702ddfa4c 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
@@ -284,8 +284,7 @@ void PaintController::commitNewDisplayItems()
&& !m_newDisplayItemList.isEmpty()
&& m_newDisplayItemList.last().type() == DisplayItem::CachedDisplayItemList) {
// The whole display item list is cached.
- ASSERT(m_newDisplayItemList.size() == 1
- || (m_newDisplayItemList.size() == 2 && DisplayItem::nonCachedType(m_newDisplayItemList[0].type()) == DisplayItem::DebugRedFill));
+ ASSERT(m_newDisplayItemList.size() == 1);
ASSERT(m_invalidations.isEmpty());
ASSERT(m_clientsCheckedPaintInvalidation.isEmpty());
m_newDisplayItemList.clear();
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698