2007-12-03 Mark Rowe <mrowe@apple.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2007 09:19:26 +0000 (09:19 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2007 09:19:26 +0000 (09:19 +0000)
        wx build fix.

        * WebView.cpp:
        (wxWebView::RunScript):

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

WebKit/wx/ChangeLog
WebKit/wx/WebView.cpp

index e7f79dc..be66b1e 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-03  Mark Rowe  <mrowe@apple.com>
+
+        wx build fix.
+
+        * WebView.cpp:
+        (wxWebView::RunScript):
+
 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
 
         wx build fix. Add WebCore/platform/graphics/wx to includes.
 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
 
         wx build fix. Add WebCore/platform/graphics/wx to includes.
index fcc829a..5bb3796 100644 (file)
@@ -275,7 +275,7 @@ wxString wxWebView::RunScript(const wxString& javascript)
     if (m_impl->frame) {
         KJS::JSValue* result = m_impl->frame->loader()->executeScript(javascript, true);
         if (result)
     if (m_impl->frame) {
         KJS::JSValue* result = m_impl->frame->loader()->executeScript(javascript, true);
         if (result)
-            returnValue = wxString(result->toString(m_impl->frame->scriptProxy()->interpreter()->globalExec()).UTF8String().c_str(), wxConvUTF8);        
+            returnValue = wxString(result->toString(m_impl->frame->scriptProxy()->globalObject()->globalExec()).UTF8String().c_str(), wxConvUTF8);        
     }
     return returnValue;
 }
     }
     return returnValue;
 }