2007-10-26 Mark Rowe <mrowe@apple.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2007 12:07:39 +0000 (12:07 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2007 12:07:39 +0000 (12:07 +0000)
        Debug build fix.

        * bindings/js/kjs_proxy.cpp:
        (WebCore::KJSProxy::~KJSProxy):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27108 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/js/kjs_proxy.cpp

index 8c54b49918091435704b6d1586274bf195d364da..454a1c95ea595dcdc0df7490a3072ac4f9cf5d39 100644 (file)
@@ -1,3 +1,10 @@
+2007-10-26  Mark Rowe  <mrowe@apple.com>
+
+        Debug build fix.
+
+        * bindings/js/kjs_proxy.cpp:
+        (WebCore::KJSProxy::~KJSProxy):
+
 2007-10-26  Maciej Stachowiak  <mjs@apple.com>
 
         No review, build fix.
index 26cafb1a18a80e52dda38d51c533e536f8a6436e..dfc3219142e8534c8086a1e67420c886eb655579 100644 (file)
@@ -51,7 +51,7 @@ KJSProxy::~KJSProxy()
 {
     // Check for <rdar://problem/4876466>. In theory, no JS should be executing
     // in our interpreter. 
-    ASSERT(!m_script || !m_script->context());
+    ASSERT(!m_script || !m_script->currentExec());
     
     if (m_script) {
         m_script = 0;