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

Unified Diff: sky/engine/core/frame/FrameView.cpp

Issue 791023006: Delete invalidateTreeIfNeeded. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove unneeded call Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/editing/InputMethodController.cpp ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « sky/engine/core/editing/InputMethodController.cpp ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698