Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2000323008: Use original repaint tests for spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698