Bug 1318819 - Remove Google Earth plugin quirk compatibility. r=jimm
authorChris Peterson <cpeterson@mozilla.com>
Mon, 28 Nov 2016 22:48:44 -0800
changeset 324639 d40f29aab1e9b06dd81b80afcfc988f70209e636
parent 324638 a7623a66ba0873bff655f5957b39909f2927aa6b
child 324640 f1362a9e0f4e699fb28d719908bcc46ffb2ae063
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersjimm
bugs1318819
milestone53.0a1
Bug 1318819 - Remove Google Earth plugin quirk compatibility. r=jimm
ipc/glue/WindowsMessageLoop.cpp
--- a/ipc/glue/WindowsMessageLoop.cpp
+++ b/ipc/glue/WindowsMessageLoop.cpp
@@ -496,24 +496,16 @@ WindowIsDeferredWindow(HWND hWnd)
   // 'ShockwaveFlashFullScreen' - flash fullscreen window
   // 'AGFullScreenWinClass' - silverlight fullscreen window
   if (className.EqualsLiteral("ShockwaveFlashFullScreen") ||
       className.EqualsLiteral("AGFullScreenWinClass")) {
     SetPropW(hWnd, k3rdPartyWindowProp, (HANDLE)1);
     return true;
   }
 
-  // Google Earth bridging msg window between the plugin instance and a separate
-  // earth process. The earth process can trigger a plugin incall on the browser
-  // at any time, which is badness if the instance is already making an incall.
-  if (className.EqualsLiteral("__geplugin_bridge_window__")) {
-    SetPropW(hWnd, k3rdPartyWindowProp, (HANDLE)1);
-    return true;
-  }
-
   // nsNativeAppSupport makes a window like "FirefoxMessageWindow" based on the
   // toolkit app's name. It's pretty expensive to calculate this so we only try
   // once.
   if (gAppMessageWindowNameLength == 0) {
     nsCOMPtr<nsIXULAppInfo> appInfo =
       do_GetService("@mozilla.org/xre/app-info;1");
     if (appInfo) {
       nsAutoCString appName;