-
antti@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120315 Reviewed by Darin Adler. We are hitting the new no-event-dispatch-while-iterating assertion. Detaching deletes a plugin which modifies DOM while it dies. * dom/Document.cpp: (WebCore::Document::createRenderTree): (WebCore::Document::detach): Don't iterate at all. Document never has more than one Element child anyway. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3fad2303