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

Unified Diff: Source/core/page/PageAnimator.cpp

Issue 380303003: Enable resize and layout for frames with RemoteFrame ancestors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed DeferUpdatePageInfo problem Created 6 years, 5 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/page/PageAnimator.h ('k') | Source/web/PageWidgetDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageAnimator.cpp
diff --git a/Source/core/page/PageAnimator.cpp b/Source/core/page/PageAnimator.cpp
index 75bd21ca63aeef3957d2ffc7f1ae423e42aba6c1..172ab5196b91b4a214e837de8d0cdab20355427d 100644
--- a/Source/core/page/PageAnimator.cpp
+++ b/Source/core/page/PageAnimator.cpp
@@ -56,12 +56,9 @@ void PageAnimator::scheduleVisualUpdate()
m_page->chrome().scheduleAnimation();
}
-void PageAnimator::updateLayoutAndStyleForPainting()
+void PageAnimator::updateLayoutAndStyleForPainting(LocalFrame* rootFrame)
{
- if (!m_page->mainFrame()->isLocalFrame())
- return;
-
- RefPtr<FrameView> view = m_page->deprecatedLocalMainFrame()->view();
+ RefPtr<FrameView> view = rootFrame->view();
TemporaryChange<bool> servicing(m_updatingLayoutAndStyleForPainting, true);
« no previous file with comments | « Source/core/page/PageAnimator.h ('k') | Source/web/PageWidgetDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698