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

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

Issue 2817563002: Always pair begin and end subsequence calls (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp » ('j') | 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 0b017b04664f39301d876849fb16377bc756bc75..e28e992e09c0df8d96ff9de07738fb18ae32d6d8 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
@@ -540,6 +540,7 @@ void PaintController::CommitNewDisplayItems(
item.key->SetDisplayItemsCached(current_cache_generation_);
#if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS
DisplayItemClient::EndShouldKeepAliveAllClients(item.key);
+ DCHECK(current_subsequence_clients_.IsEmpty());
#endif
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698