| Index: third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| index b0243e8124b67d2bb95dc43cc2857a0f1929e03f..83a1cf404b1b81b9adcd1a1aff6a324b8e0ed66b 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
|
| @@ -41,23 +41,6 @@ protected:
|
| GraphicsLayer::setDrawDebugRedFillForTesting(true);
|
| }
|
|
|
| - // Expose some document lifecycle steps for checking new display items before commiting.
|
| - void updateLifecyclePhasesBeforePaint()
|
| - {
|
| - // This doesn't do all steps that FrameView does, but is enough for current tests.
|
| - FrameView* frameView = document().view();
|
| - frameView->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling);
|
| - frameView->invalidateTreeIfNeededRecursive();
|
| - if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| - document().view()->updatePaintProperties();
|
| - }
|
| -
|
| - void updateLifecyclePhasesToPaintClean()
|
| - {
|
| - updateLifecyclePhasesBeforePaint();
|
| - document().view()->synchronizedPaint();
|
| - }
|
| -
|
| bool paintWithoutCommit(const IntRect* interestRect = nullptr)
|
| {
|
| // Only root graphics layer is supported.
|
|
|