Reviewed by Eric Seidel.
[WebKit-https.git] / WebCore / html / HTMLEmbedElement.cpp
index b76c2a900c4735b2bf7eb63b01ac256f28302ab8..fc82a7d6ca5e741e7899ceeb21c9807151ea0fea 100644 (file)
@@ -156,7 +156,7 @@ void HTMLEmbedElement::attach()
     HTMLPlugInElement::attach();
 
     if (renderer())
-        static_cast<RenderPartObject*>(renderer())->updateWidget(true);
+        static_cast<RenderPartObject*>(renderer())->updateWidgetSoon();
 }
 
 void HTMLEmbedElement::detach()