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

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

Issue 2219523004: CL for perf tryjob on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 0b793654dcdc1ae1fabdbbaa8368acca59c46e02..21e9c4fa54dfce91171fa00db2c032da248f501f 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
@@ -444,8 +444,8 @@ void PaintController::commitNewDisplayItems(const LayoutSize& offsetFromLayoutOb
if (item.isCacheable()) {
item.client().setDisplayItemsCached(m_currentCacheGeneration);
} else {
- if (item.client().isJustCreated())
- item.client().clearIsJustCreated();
+ //if (item.client().isJustCreated())
+ // item.client().clearIsJustCreated();
if (item.skippedCache())
skippedCacheClients.append(&item.client());
}
@@ -460,12 +460,14 @@ void PaintController::commitNewDisplayItems(const LayoutSize& offsetFromLayoutOb
resetCurrentListIndices();
m_outOfOrderItemIndices.clear();
+ /*
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
for (const auto& chunk : m_currentPaintArtifact.paintChunks()) {
if (chunk.id && chunk.id->client.isJustCreated())
chunk.id->client.clearIsJustCreated();
}
}
+ */
// We'll allocate the initial buffer when we start the next paint.
m_newDisplayItemList = DisplayItemList(0);

Powered by Google App Engine
This is Rietveld 408576698