| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index be9f12d15210d8861813274e286c3558c15cd091..caacbef761333e2989dfbb9aa42aed198ba602b6 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -2007,7 +2007,7 @@ void Internals::forceFullRepaint(Document* document, ExceptionState& exceptionSt
|
| void Internals::startTrackingPaintInvalidationObjects()
|
| {
|
| ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutView()->layer()->graphicsLayerBacking();
|
| + GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutViewItem().layer()->graphicsLayerBacking();
|
| if (graphicsLayer->drawsContent())
|
| graphicsLayer->getPaintController().startTrackingPaintInvalidationObjects();
|
| }
|
| @@ -2015,7 +2015,7 @@ void Internals::startTrackingPaintInvalidationObjects()
|
| void Internals::stopTrackingPaintInvalidationObjects()
|
| {
|
| ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutView()->layer()->graphicsLayerBacking();
|
| + GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutViewItem().layer()->graphicsLayerBacking();
|
| if (graphicsLayer->drawsContent())
|
| graphicsLayer->getPaintController().stopTrackingPaintInvalidationObjects();
|
| }
|
| @@ -2023,7 +2023,7 @@ void Internals::stopTrackingPaintInvalidationObjects()
|
| Vector<String> Internals::trackedPaintInvalidationObjects()
|
| {
|
| ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutView()->layer()->graphicsLayerBacking();
|
| + GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutViewItem().layer()->graphicsLayerBacking();
|
| if (!graphicsLayer->drawsContent())
|
| return Vector<String>();
|
| return graphicsLayer->getPaintController().trackedPaintInvalidationObjects();
|
|
|