From: darin@chromium.org Date: Thu, 20 Nov 2008 04:46:11 +0000 (+0000) Subject: 2008-11-19 Darin Fisher X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=a54a55ed5bae8fd5cf12ef47cada8e386f55b9b3 2008-11-19 Darin Fisher Fix bustage. https://bugs.webkit.org/show_bug.cgi?id=22373 Ports busted by addition of ScriptValue.{h,cpp} * Api/qwebframe.cpp: (QWebFrame::evaluateJavaScript): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38616 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/WebKit/qt/Api/qwebframe.cpp b/WebKit/qt/Api/qwebframe.cpp index 54e59d352be8..a2f22a7ed196 100644 --- a/WebKit/qt/Api/qwebframe.cpp +++ b/WebKit/qt/Api/qwebframe.cpp @@ -934,7 +934,7 @@ QVariant QWebFrame::evaluateJavaScript(const QString& scriptSource) ScriptController *proxy = d->frame->script(); QVariant rc; if (proxy) { - JSC::JSValue* v = proxy->evaluate(String(), 1, scriptSource); + JSC::JSValue* v = proxy->evaluate(String(), 1, scriptSource).jsValue(); if (v) { int distance = 0; rc = JSC::Bindings::convertValueToQVariant(proxy->globalObject()->globalExec(), v, QMetaType::Void, &distance); diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog index 648eacb44db4..c3c9f034f79f 100644 --- a/WebKit/qt/ChangeLog +++ b/WebKit/qt/ChangeLog @@ -1,3 +1,13 @@ +2008-11-19 Darin Fisher + + Fix bustage. + + https://bugs.webkit.org/show_bug.cgi?id=22373 + Ports busted by addition of ScriptValue.{h,cpp} + + * Api/qwebframe.cpp: + (QWebFrame::evaluateJavaScript): + 2008-11-19 Darin Fisher Fix bustage.