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

Unified Diff: Source/core/layout/LayoutView.cpp

Issue 1217943010: Add a FrameView lifecycle method that just updates layout, style and compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/layout/LayoutView.h ('k') | Source/core/page/ContextMenuControllerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutView.cpp
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
index 74895d6bdecc84c0739b5f29141be9c3f8d09a0d..13ede73c630227d4b1f48ab66f2460ee8e9364a0 100644
--- a/Source/core/layout/LayoutView.cpp
+++ b/Source/core/layout/LayoutView.cpp
@@ -87,11 +87,11 @@ bool LayoutView::hitTest(HitTestResult& result)
// into a child document, it could trigger a layout on the parent document, which can destroy DeprecatedPaintLayer
// that are higher up in the call stack, leading to crashes.
// Note that Document::updateLayout calls its parent's updateLayout.
- frameView()->updateLayoutAndStyleForPainting();
- return hitTestNoLayoutAndStyleUpdate(result);
+ frameView()->updateLifecycleToCompositingCleanPlusScrolling();
+ return hitTestNoLifecycleUpdate(result);
}
-bool LayoutView::hitTestNoLayoutAndStyleUpdate(HitTestResult& result)
+bool LayoutView::hitTestNoLifecycleUpdate(HitTestResult& result)
{
TRACE_EVENT_BEGIN0("blink,devtools.timeline", "HitTest");
m_hitTestCount++;
« no previous file with comments | « Source/core/layout/LayoutView.h ('k') | Source/core/page/ContextMenuControllerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698