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 dbf2143fc4f62efaa21d3b11b648570c68f20247..fbf2a6b4d2bc1c7996310d764e77c4a408854bbd 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(); |
} |