2008-11-19 Darin Fisher <darin@chromium.org>
authordarin@chromium.org <darin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Nov 2008 03:27:50 +0000 (03:27 +0000)
committerdarin@chromium.org <darin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Nov 2008 03:27:50 +0000 (03:27 +0000)
        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

WebCore/ChangeLog
WebCore/plugins/PluginView.cpp

index 5557ef6..22f5508 100644 (file)
@@ -1,5 +1,15 @@
 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.
 
         https://bugs.webkit.org/show_bug.cgi?id=22373
index f0abe70..5c24e52 100644 (file)
@@ -259,7 +259,7 @@ void PluginView::performRequest(PluginRequest* request)
     
     // 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;