Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 3ccd0fb30a9abd344f1ce1e8b3ecb451c5865aa9..8b43865107c3c03ed3f4aef590f6580215115b9a 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2518,7 +2518,7 @@ void FrameView::synchronizedPaintRecursively(GraphicsLayer* graphicsLayer, const |
graphicsLayer->paintIfNeeded(context); |
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
- graphicsLayer->paintController()->commitNewDisplayItems(graphicsLayer); |
+ graphicsLayer->paintController()->commitNewDisplayItems(); |
for (auto& child : graphicsLayer->children()) |
synchronizedPaintRecursively(child, interestRect); |
@@ -2533,7 +2533,7 @@ void FrameView::compositeForSlimmingPaintV2() |
// Detached frames can have no root graphics layer. |
if (GraphicsLayer* rootGraphicsLayer = layoutView()->layer()->graphicsLayerBacking()) |
- rootGraphicsLayer->paintController()->commitNewDisplayItems(rootGraphicsLayer); |
+ rootGraphicsLayer->paintController()->commitNewDisplayItems(); |
forAllFrameViews([](FrameView& frameView) { frameView.lifecycle().advanceTo(DocumentLifecycle::CompositingForSlimmingPaintV2Clean); }); |
} |