| Index: sky/engine/core/frame/FrameView.cpp
|
| diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
|
| index ea8e7e0e92bb35cd111ac07637a32a994b7a75a7..233b32c3a3bb43efa057e4222713b08d4540d4c9 100644
|
| --- a/sky/engine/core/frame/FrameView.cpp
|
| +++ b/sky/engine/core/frame/FrameView.cpp
|
| @@ -399,23 +399,11 @@ void FrameView::layout(bool allowSubtree)
|
| frame().page()->chrome().client().layoutUpdated(m_frame.get());
|
| }
|
|
|
| +// FIXME(sky): Remove
|
| void FrameView::invalidateTreeIfNeeded()
|
| {
|
| lifecycle().advanceTo(DocumentLifecycle::InPaintInvalidation);
|
| -
|
| - ASSERT(renderView());
|
| - RenderView& rootForPaintInvalidation = *renderView();
|
| - ASSERT(!rootForPaintInvalidation.needsLayout());
|
| -
|
| - PaintInvalidationState rootPaintInvalidationState(rootForPaintInvalidation);
|
| -
|
| - rootForPaintInvalidation.invalidateTreeIfNeeded(rootPaintInvalidationState);
|
| -
|
| m_doFullPaintInvalidation = false;
|
| -#ifndef NDEBUG
|
| - renderView()->assertSubtreeClearedPaintInvalidationState();
|
| -#endif
|
| -
|
| lifecycle().advanceTo(DocumentLifecycle::PaintInvalidationClean);
|
| }
|
|
|
|
|