Bug 1295649 - adding back removed 'a11y initialized' telemetry measurement. r=surkov
authorYura Zenevich <yzenevich@mozilla.com>
Tue, 16 Aug 2016 13:25:29 -0400
changeset 335487 1ab02f408a7dc73cab2a82ba0ab81529a59ab2fd
parent 335486 a50c6e2ff453f2249c6f9a8635a96be0ac85917b
child 335488 4d1fa46b05cbfd1401d9e47444f78423cb14dc71
push id10033
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:50:26 +0000
treeherdermozilla-aurora@5dddbefdf759 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssurkov
bugs1295649
milestone51.0a1
Bug 1295649 - adding back removed 'a11y initialized' telemetry measurement. r=surkov MozReview-Commit-ID: 75xgQlaPA7N
accessible/base/nsAccessibilityService.cpp
--- a/accessible/base/nsAccessibilityService.cpp
+++ b/accessible/base/nsAccessibilityService.cpp
@@ -1285,16 +1285,18 @@ nsAccessibilityService::Init()
 #endif
 
   gIsShutdown = false;
 
   // Now its safe to start platform accessibility.
   if (XRE_IsParentProcess())
     PlatformInit();
 
+  statistics::A11yInitialized();
+
   return true;
 }
 
 void
 nsAccessibilityService::Shutdown()
 {
   // Application is going to be closed, shutdown accessibility and mark
   // accessibility service as shutdown to prevent calls of its methods.