| 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 c815688794bf46cb231b5aa2e5f861624ed7d3b6..3ad71eab3de3bd7d47b00ad19cb2c5120718e966 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.
|
|
|