Index: Source/core/html/HTMLPlugInElement.cpp |
diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp |
index f2d84b3acc6aa5ca6252bec078e144ba00008485..688309251a162a93159237e4467e164621e3e717 100644 |
--- a/Source/core/html/HTMLPlugInElement.cpp |
+++ b/Source/core/html/HTMLPlugInElement.cpp |
@@ -29,7 +29,6 @@ |
#include "bindings/v8/npruntime_impl.h" |
#include "core/dom/Document.h" |
#include "core/dom/Node.h" |
-#include "core/dom/PostAttachCallbacks.h" |
#include "core/dom/shadow/ShadowRoot.h" |
#include "core/events/Event.h" |
#include "core/frame/LocalFrame.h" |
@@ -453,7 +452,7 @@ bool HTMLPlugInElement::loadPlugin(const KURL& url, const String& mimeType, cons |
renderer->setWidget(widget); |
document().setContainsPlugins(); |
- setNeedsStyleRecalc(LocalStyleChange, StyleChangeFromRenderer); |
+ scheduleLayerUpdate(); |
return true; |
} |