Reviewed by Sam.
- avoid assertion in updateDocument() when running debug
* bindings/js/kjs_proxy.cpp:
(WebCore::KJSProxy::updateDocument): Exit early if the document is null. We
don't need to update in this case.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34279
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2008-05-31 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Sam.
+
+ - avoid assertion in updateDocument() when running debug
+
+ * bindings/js/kjs_proxy.cpp:
+ (WebCore::KJSProxy::updateDocument): Exit early if the document is null. We
+ don't need to update in this case.
+
2008-05-30 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler.
void KJSProxy::updateDocument()
{
+ if (!m_frame->document())
+ return;
+
JSLock lock;
if (m_windowShell)
m_windowShell->window()->updateDocument();