Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
index 9c3e5a948a0cb28dd1e21f5d12af8e3e60db8419..6234800bd111fc0d848af14dbaebc07d9e80e355 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
@@ -364,7 +364,7 @@ LayoutPart* HTMLPlugInElement::layoutPartForJSBindings() const |
// Needs to load the plugin immediatedly because this function is called |
// when JavaScript code accesses the plugin. |
// FIXME: Check if dispatching events here is safe. |
- document().updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); |
+ document().updateStyleAndLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); |
return existingLayoutPart(); |
} |