bug 534863: the plugin DLL path needs to be quoted on windows. irc r=bent
authorChris Jones <jones.chris.g@gmail.com>
Tue, 15 Dec 2009 17:10:41 -0600
changeset 36277 69674697dbce469745f1baaccb507cca27afd1e8
parent 36276 6cd556b22e91811c40f301482ef1db249ea50b84
child 36278 2012cd379192e6193206d6f9d8eefae4822f35cb
push id10758
push userbsmedberg@mozilla.com
push dateWed, 16 Dec 2009 14:23:28 +0000
treeherdermozilla-central@4eef63c0c6c9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent
bugs534863
milestone1.9.3a1pre
bug 534863: the plugin DLL path needs to be quoted on windows. irc r=bent
dom/plugins/PluginProcessParent.cpp
--- a/dom/plugins/PluginProcessParent.cpp
+++ b/dom/plugins/PluginProcessParent.cpp
@@ -62,17 +62,21 @@ PluginProcessParent::PluginProcessParent
 PluginProcessParent::~PluginProcessParent()
 {
 }
 
 bool
 PluginProcessParent::Launch()
 {
     std::vector<std::string> args;
+#if defined(XP_WIN)
+    args.push_back("\""+ mPluginFilePath +"\"");
+#else
     args.push_back(mPluginFilePath);
+#endif
     return SyncLaunch(args);
 }
 
 void
 PluginProcessParent::Delete()
 {
   MessageLoop* currentLoop = MessageLoop::current();
   MessageLoop* ioLoop =