Bug 1332685 - Actually use DEFAULT_MIN_TRACKING_BACKGROUND_TIMEOUT_VALUE; r=bkelly
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 14 Dec 2016 15:52:57 -0500
changeset 358469 5a62757abb0eee86e09b434d6007988b4c5d4b66
parent 358468 8aa58e6577516d8bde4ff9d4555e59d6a511fc4f
child 358470 dbef9f0ee2d5400cc4a01bd8974f389763f2735e
push id10621
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 16:02:43 +0000
treeherdermozilla-aurora@dca7b42e6c67 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbkelly
bugs1332685
milestone53.0a1
Bug 1332685 - Actually use DEFAULT_MIN_TRACKING_BACKGROUND_TIMEOUT_VALUE; r=bkelly
dom/base/TimeoutManager.cpp
--- a/dom/base/TimeoutManager.cpp
+++ b/dom/base/TimeoutManager.cpp
@@ -127,17 +127,17 @@ TimeoutManager::Initialize()
   Preferences::AddIntVarCache(&gMinBackgroundTimeoutValue,
                               "dom.min_background_timeout_value",
                               DEFAULT_MIN_BACKGROUND_TIMEOUT_VALUE);
   Preferences::AddIntVarCache(&gMinTrackingTimeoutValue,
                               "dom.min_tracking_timeout_value",
                               DEFAULT_MIN_TRACKING_TIMEOUT_VALUE);
   Preferences::AddIntVarCache(&gMinTrackingBackgroundTimeoutValue,
                               "dom.min_tracking_background_timeout_value",
-                              DEFAULT_MIN_BACKGROUND_TIMEOUT_VALUE);
+                              DEFAULT_MIN_TRACKING_BACKGROUND_TIMEOUT_VALUE);
   Preferences::AddIntVarCache(&gTimeoutBucketingStrategy,
                               "dom.timeout_bucketing_strategy",
                               TRACKING_SEPARATE_TIMEOUT_BUCKETING_STRATEGY);
 }
 
 uint32_t
 TimeoutManager::GetTimeoutId(Timeout::Reason aReason)
 {