Build fix.
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Jul 2007 23:19:16 +0000 (23:19 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Jul 2007 23:19:16 +0000 (23:19 +0000)
        * WebView.cpp:
        (WebView::stringByEvaluatingJavaScriptFromString):

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

WebKit/win/ChangeLog
WebKit/win/WebView.cpp

index ef799ab18a4380182c5da6cb22ae2a05ba01f064..7b6dec94573cb7f764db1b04a19f54a678f0cd23 100644 (file)
@@ -1,3 +1,10 @@
+2007-07-09  Anders Carlsson  <andersca@apple.com>
+
+        Build fix.
+
+        * WebView.cpp:
+        (WebView::stringByEvaluatingJavaScriptFromString):
+
 2007-07-05  Adam Roben  <aroben@apple.com>
 
         Fix a leak in WebView::setToolTip
index e1b8ecf9353915a833d99a3aee21fbb82f50addf..02f0d3166fb6c0500db3989de182af4440734b32 100644 (file)
@@ -2153,7 +2153,7 @@ HRESULT STDMETHODCALLTYPE WebView::stringByEvaluatingJavaScriptFromString(
     if (!coreFrame)
         return E_FAIL;
 
-    KJS::JSValue* scriptExecutionResult = coreFrame->loader()->executeScript(0, WebCore::String(script), true);
+    KJS::JSValue* scriptExecutionResult = coreFrame->loader()->executeScript(WebCore::String(script), true);
     if(!scriptExecutionResult)
         return E_FAIL;
     else if (scriptExecutionResult->isString()) {