| 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 be3ddf545b90cda7010d4ef6ec899ebe6f5cbc85..5b83955db686b61edd7a0b183e1c2cd1524de80c 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -2010,31 +2010,6 @@ void Internals::forceFullRepaint(Document* document, ExceptionState& exceptionSt
|
| layoutViewItem.invalidatePaintForViewAndCompositedLayers();
|
| }
|
|
|
| -void Internals::startTrackingPaintInvalidationObjects()
|
| -{
|
| - ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutViewItem().layer()->graphicsLayerBacking();
|
| - if (graphicsLayer->drawsContent())
|
| - graphicsLayer->getPaintController().startTrackingPaintInvalidationObjects();
|
| -}
|
| -
|
| -void Internals::stopTrackingPaintInvalidationObjects()
|
| -{
|
| - ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutViewItem().layer()->graphicsLayerBacking();
|
| - if (graphicsLayer->drawsContent())
|
| - graphicsLayer->getPaintController().stopTrackingPaintInvalidationObjects();
|
| -}
|
| -
|
| -Vector<String> Internals::trackedPaintInvalidationObjects()
|
| -{
|
| - ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - GraphicsLayer* graphicsLayer = toLocalFrame(frame()->page()->mainFrame())->view()->layoutViewItem().layer()->graphicsLayerBacking();
|
| - if (!graphicsLayer->drawsContent())
|
| - return Vector<String>();
|
| - return graphicsLayer->getPaintController().trackedPaintInvalidationObjects();
|
| -}
|
| -
|
| ClientRectList* Internals::draggableRegions(Document* document, ExceptionState& exceptionState)
|
| {
|
| return annotatedRegions(document, true, exceptionState);
|
|
|