| Index: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| index 7919c8b812fd4590065be181c4b9a26656c3603b..2fa29b1df8772470fa7d87d85283e7c2e2bb442d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| @@ -85,7 +85,7 @@ void ContentLayerDelegate::paintContents(
|
| // here so the browser is usable during development and does not crash due
|
| // to committing the new display items twice.
|
| if (RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled()) {
|
| - m_painter->displayItemList()->appendToWebDisplayItemList(webDisplayItemList);
|
| + m_painter->displayItemList()->paintArtifact().appendToWebDisplayItemList(webDisplayItemList);
|
| return;
|
| }
|
|
|
| @@ -107,7 +107,8 @@ void ContentLayerDelegate::paintContents(
|
|
|
| m_painter->paint(context, clip);
|
|
|
| - displayItemList->commitNewDisplayItemsAndAppendToWebDisplayItemList(webDisplayItemList);
|
| + displayItemList->commitNewDisplayItems();
|
| + displayItemList->paintArtifact().appendToWebDisplayItemList(webDisplayItemList);
|
| }
|
|
|
| size_t ContentLayerDelegate::approximateUnsharedMemoryUsage() const
|
|
|