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

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

Issue 2095013003: Changes in DisplayItemClient for spv2 paint invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 ce2ed70d1b953993744f7ce446038ededa2c43aa..e478f8a76bf0250f84190cb79094c9567d8b1a19 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
@@ -381,7 +381,7 @@ size_t PaintController::approximateUnsharedMemoryUsage() const
void PaintController::updateCacheGeneration()
{
- m_currentCacheGeneration = DisplayItemCacheGeneration::next();
+ m_currentCacheGeneration = DisplayItemClient::CacheGenerationOrInvalidationReason::next();
for (const DisplayItem& displayItem : m_currentPaintArtifact.getDisplayItemList()) {
if (!displayItem.isCacheable())
continue;

Powered by Google App Engine
This is Rietveld 408576698