| 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.
|
|
|