Reviewed by Dave Hyatt.
Commited by Tim Hatcher.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5256
Relayout during load causes duplicate plugin part.
This was a problem with <OBJECT>s that contain an <EMBED>, if
layout happened in the middle of the OBJECT but before the EMBED.
No test case added, requires manual testing.
* khtml/html/html_objectimpl.cpp:
(DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
(DOM::HTMLObjectElementImpl::closeRenderer):
(DOM::HTMLObjectElementImpl::setComplete):
* khtml/html/html_objectimpl.h:
(DOM::HTMLObjectElementImpl::isComplete):
* khtml/html/htmlfactory.cpp:
(DOM::objectConstructor):
* khtml/rendering/render_frames.cpp:
(RenderPartObject::updateWidget):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11017
268f45cc-cd09-0410-ab3c-
d52691b4dbfc