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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 1807363002: Remove lifecycle rewinding in FrameView::scheduleRelayout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 7481f9dc8c8a5b2fd1943e23597296e32532a9e2..08f5c555396a8421d257caa9f96cc053ffd0954f 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1799,9 +1799,6 @@ void FrameView::scheduleRelayout()
if (!shouldThrottleRendering())
page()->animator().scheduleVisualUpdate(m_frame.get());
- // TODO(chrishtr): this is dangerous and probably incorrect, since layout can be rescheduled during
- // the lifecycle in cases such as change of containing block chain. Remove it.
- lifecycle().ensureStateAtMost(DocumentLifecycle::StyleClean);
}
void FrameView::scheduleRelayoutOfSubtree(LayoutObject* relayoutRoot)
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698