Bug 1275040 - Actually block e10s on OS X 10.8. r=jimm, a=sylvestre
authorFelipe Gomes <felipc@gmail.com>
Tue, 31 May 2016 13:10:38 -0300
changeset 319104 df5a45f1a3e749c8d5e2ab97815c8c19ca200e02
parent 319103 410d008493bcec3873e58f9af33d85843d1ae98f
child 319105 bb81bf646c3d92abb37eb6b5b5498cd2dab9175f
push id9644
push usercbook@mozilla.com
push dateWed, 01 Jun 2016 14:43:40 +0000
treeherdermozilla-aurora@bb81bf646c3d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm, sylvestre
bugs1275040
milestone48.0a2
Bug 1275040 - Actually block e10s on OS X 10.8. r=jimm, a=sylvestre MozReview-Commit-ID: 6In98yvkk8s
toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -4761,21 +4761,21 @@ MultiprocessBlockPolicy() {
   if (Preferences::GetDefaultCString("app.update.channel").EqualsLiteral("release") &&
       !IsVistaOrLater()) {
     gMultiprocessBlockPolicy = kE10sDisabledForOperatingSystem;
     return gMultiprocessBlockPolicy;
   }
 #endif
 
   /**
-   * Avoids enabling e10s for OS X 10.6 - 10.8 users (<= Lion) as these
+   * Avoids enabling e10s for OS X 10.6 - 10.8 users (<= Mountain Lion) as these
    * versions will be unsupported soon.
    */
 #if defined(XP_MACOSX)
-  if (!nsCocoaFeatures::OnMountainLionOrLater()) {
+  if (!nsCocoaFeatures::OnMavericksOrLater()) {
     gMultiprocessBlockPolicy = kE10sDisabledForOperatingSystem;
     return gMultiprocessBlockPolicy;
   }
 #endif
 
 #if defined(XP_WIN)
   /**
    * We block on Windows XP if layers acceleration is requested. This is due to