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

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

Issue 1774653002: Decouple scheduling animation of webview plugins from layout. (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
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 fdb16e9dcfdbbf52ce5c9fa3cecad45418746fcd..e1fc11094baa4e426f00528a8627a0eb479022b2 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2605,7 +2605,7 @@ void FrameView::updateStyleAndLayoutIfNeededRecursive()
const ChildrenWidgetSet* viewChildren = children();
for (const RefPtrWillBeMember<Widget>& child : *viewChildren) {
if ((*child).isPluginContainer())
- toPluginView(child.get())->layoutIfNeeded();
+ toPluginView(child.get())->updateAllLifecyclePhases();
}
RELEASE_ASSERT(!needsLayout());

Powered by Google App Engine
This is Rietveld 408576698