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
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);
+2008-11-19 Darin Fisher <darin@chromium.org>
+
+ 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 <darin@chromium.org>
Fix bustage.