-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=118994 <rdar://problem/14511232> Reviewed by Anders Carlsson. Make <applet> consistent with <object> and <embed>, deferring plugin instantiation to post-layout, so that layout is up-to-date if anything needs it (like RenderEmbeddedObject::isReplacementObscured) during creation. * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::updateWidget): Copy code from HTMLObjectElement/HTMLEmbedElement that defers plugin creation until post-layout tasks. Java is always an NPAPI plugin, so we should always defer if requested. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6c8ba327