Speculative Windows build fix.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Dec 2007 12:59:21 +0000 (12:59 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Dec 2007 12:59:21 +0000 (12:59 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28320 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/plugins/win/PluginViewWin.cpp

index 9d48bf1cb2c9aa586b7bb83a9fc27676d766ab0d..b5339263c3c7ca6eb322561944886e85ebe3e9a8 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-02  Mark Rowe  <mrowe@apple.com>
+
+        Try and fix the Windows build.
+
+        * plugins/win/PluginViewWin.cpp:
+        (WebCore::PluginViewWin::bindingInstance):
+
 2007-12-02  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Rubber stamped by Eric.
index c0a3c24eb43681add8a29b96aeb924b9187d223c..ca6c0858b71b4c9fcb1d01b042180a9a3b69d1d6 100644 (file)
@@ -1310,7 +1310,7 @@ KJS::Bindings::Instance* PluginViewWin::bindingInstance()
     if (npErr != NPERR_NO_ERROR || !object)
         return 0;
 
-    RefPtr<KJS::Bindings::RootObject> root = m_parentFrame->createRootObject(this, m_parentFrame->scriptProxy()->interpreter());
+    RefPtr<KJS::Bindings::RootObject> root = m_parentFrame->createRootObject(this, m_parentFrame->scriptProxy()->interpreter()->globalObject());
     KJS::Bindings::Instance *instance = KJS::Bindings::Instance::createBindingForLanguageInstance(KJS::Bindings::Instance::CLanguage, object, root.release());
 
     _NPN_ReleaseObject(object);