Bug 1130435 - Mouse cursor doesn't disappear over Flash object when it should. Works in non-e10s. r=josh
authorSteven Michaud <smichaud@pobox.com>
Mon, 02 Mar 2015 15:36:29 -0600
changeset 246896 5d16f16e693c7bc5004d2861a109dbb6ad83a043
parent 246895 0b080a60b195d69b3cf34da022e3a0fa43bbc5c1
child 246897 a154a685af6531898019c1075adb9627ed7de59d
push id884
push userdburns@mozilla.com
push dateTue, 03 Mar 2015 15:29:12 +0000
reviewersjosh
bugs1130435
milestone39.0a1
Bug 1130435 - Mouse cursor doesn't disappear over Flash object when it should. Works in non-e10s. r=josh
dom/plugins/ipc/PluginModuleChild.cpp
--- a/dom/plugins/ipc/PluginModuleChild.cpp
+++ b/dom/plugins/ipc/PluginModuleChild.cpp
@@ -154,17 +154,19 @@ PluginModuleChild::PluginModuleChild(boo
 
     memset(&mFunctions, 0, sizeof(mFunctions));
     if (mIsChrome) {
         MOZ_ASSERT(!gChromeInstance);
         gChromeInstance = this;
     }
     mUserAgent.SetIsVoid(true);
 #ifdef XP_MACOSX
-    mac_plugin_interposing::child::SetUpCocoaInterposing();
+    if (aIsChrome) {
+      mac_plugin_interposing::child::SetUpCocoaInterposing();
+    }
 #endif
 }
 
 PluginModuleChild::~PluginModuleChild()
 {
     if (mTransport) {
         // For some reason IPDL doesn't autmatically delete the channel for a
         // bridged protocol (bug 1090570). So we have to do it ourselves. This