| 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);
|
|
|