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

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

Issue 1428643004: Repaint on interest rect change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableSyncPaint
Patch Set: Created 5 years, 2 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/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 da519217ae7084c3281d03457413fdf805f25d74..fc2e069397a8d7122139af23ec198c501a609791 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
@@ -278,7 +278,7 @@ void PaintController::commitNewDisplayItems()
&& m_newDisplayItemList.last().type() == DisplayItem::CachedDisplayItemList) {
// The whole display item list is cached.
ASSERT(m_newDisplayItemList.size() == 1
- || (m_newDisplayItemList.size() == 2 && m_newDisplayItemList[0].type() == DisplayItem::DebugRedFill));
+ || (m_newDisplayItemList.size() == 2 && DisplayItem::nonCachedType(m_newDisplayItemList[0].type()) == DisplayItem::DebugRedFill));
ASSERT(m_invalidations.isEmpty());
ASSERT(m_clientsCheckedPaintInvalidation.isEmpty());
m_newDisplayItemList.clear();
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PaintController.h ('k') | third_party/WebKit/Source/web/PageOverlay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698