Backed out changeset 9f7da731bf06 (CLOSED TREE)
authorDão Gottwald <dao@mozilla.com>
Thu, 12 Dec 2013 12:38:34 +0100
changeset 160175 d3c5304d80115ac063fa93e23f810b0948f52b8d
parent 160174 64376a7a08df4620b21c8b08cda8462ab4bbb14c
child 160176 9024d015e6ef282ad974b6302236aa55e6871ae8
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
milestone29.0a1
backs out9f7da731bf06d1b16b46c0b69ddee078ad9d2e4a
Backed out changeset 9f7da731bf06 (CLOSED TREE)
browser/components/sessionstore/src/SessionStore.jsm
browser/modules/RecentWindow.jsm
--- a/browser/components/sessionstore/src/SessionStore.jsm
+++ b/browser/components/sessionstore/src/SessionStore.jsm
@@ -81,21 +81,19 @@ const TAB_EVENTS = [
 // Browser events observed.
 const BROWSER_EVENTS = [
   "load", "SwapDocShells", "UserTypedValueChanged"
 ];
 
 // The number of milliseconds in a day
 const MS_PER_DAY = 1000.0 * 60.0 * 60.0 * 24.0;
 
-#ifdef XP_UNIX 
-#ifndef XP_MACOSX
+#ifndef XP_WIN
 #define BROKEN_WM_Z_ORDER
 #endif
-#endif 
 
 Cu.import("resource://gre/modules/Services.jsm", this);
 Cu.import("resource://gre/modules/XPCOMUtils.jsm", this);
 Cu.import("resource://gre/modules/TelemetryTimestamps.jsm", this);
 Cu.import("resource://gre/modules/TelemetryStopwatch.jsm", this);
 Cu.import("resource://gre/modules/osfile.jsm", this);
 Cu.import("resource://gre/modules/PrivateBrowsingUtils.jsm", this);
 Cu.import("resource://gre/modules/Promise.jsm", this);
--- a/browser/modules/RecentWindow.jsm
+++ b/browser/modules/RecentWindow.jsm
@@ -6,21 +6,19 @@
 
 this.EXPORTED_SYMBOLS = ["RecentWindow"];
 
 const Cu = Components.utils;
 
 Cu.import("resource://gre/modules/Services.jsm");
 Cu.import("resource://gre/modules/PrivateBrowsingUtils.jsm");
 
-#ifdef XP_UNIX
-#ifndef XP_MACOSX
+#ifndef XP_WIN
 #define BROKEN_WM_Z_ORDER
 #endif
-#endif
 
 this.RecentWindow = {
   /*
    * Get the most recent browser window.
    *
    * @param aOptions an object accepting the arguments for the search.
    *        * private: true to restrict the search to private windows
    *            only, false to restrict the search to non-private only.