Bug 1504746 - Disabling fuzzyfox should disable it. r=baku
authorTom Ritter <tom@mozilla.com>
Mon, 05 Nov 2018 11:08:50 -0600
changeset 444427 6d850fafd7d185212f5494a71613a919b11a291b
parent 444426 00f962601b8b2ce44ce6e26eed1bc82fd0f130a4
child 444428 00a33f24732b7c3a8a476beef4815e260d909ef9
push id109590
push usernbeleuzu@mozilla.com
push dateMon, 05 Nov 2018 19:22:06 +0000
treeherdermozilla-inbound@6d850fafd7d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1504746
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1504746 - Disabling fuzzyfox should disable it. r=baku
toolkit/components/fuzzyfox/Fuzzyfox.cpp
--- a/toolkit/components/fuzzyfox/Fuzzyfox.cpp
+++ b/toolkit/components/fuzzyfox/Fuzzyfox.cpp
@@ -115,16 +115,17 @@ Fuzzyfox::Observe(nsISupports* aObject, 
       if (sFuzzyfoxInitializing) {
         // Queue a runnable
         nsCOMPtr<nsIRunnable> r = this;
         SystemGroup::Dispatch(TaskCategory::Other, r.forget());
       } else {
         mStartTime = 0;
         mTickType = eUptick;
         mSanityCheck = false;
+        TimeStamp::SetFuzzyfoxEnabled(false);
       }
     }
   }
   return NS_OK;
 }
 
 #define DISPATCH_AND_RETURN() \
   nsCOMPtr<nsIRunnable> r = this; \