Fix bustage.
https://bugs.webkit.org/show_bug.cgi?id=22373
Ports busted by addition of ScriptValue.{h,cpp}
* plugins/PluginView.cpp:
(WebCore::PluginView::performRequest):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38614
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+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}
+
+ * plugins/PluginView.cpp:
+ (WebCore::PluginView::performRequest):
+
2008-11-19 Darin Fisher <darin@chromium.org>
Bustage fix.
// Executing a script can cause the plugin view to be destroyed, so we keep a reference to the parent frame.
RefPtr<Frame> parentFrame = m_parentFrame;
- JSValue* result = m_parentFrame->loader()->executeScript(jsString, request->shouldAllowPopups());
+ JSValue* result = m_parentFrame->loader()->executeScript(jsString, request->shouldAllowPopups()).jsValue();
if (targetFrameName.isNull()) {
String resultString;