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

Unified Diff: third_party/WebKit/Source/core/html/PluginDocument.cpp

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/html/PluginDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/PluginDocument.cpp b/third_party/WebKit/Source/core/html/PluginDocument.cpp
index e435b58b077b2dbf2c01ea121054d136f8088f93..4ee16b0499ab272a2665c3cdc1a33a08a5eb0379 100644
--- a/third_party/WebKit/Source/core/html/PluginDocument.cpp
+++ b/third_party/WebKit/Source/core/html/PluginDocument.cpp
@@ -117,7 +117,7 @@ void PluginDocumentParser::createDocumentStructure()
toPluginDocument(document())->setPluginNode(m_embedElement.get());
- document()->updateLayout();
+ document()->updateStyleAndLayout();
// We need the plugin to load synchronously so we can get the PluginView
// below so flush the layout tasks now instead of waiting on the timer.

Powered by Google App Engine
This is Rietveld 408576698