Bug 1364477 - Remove FormAutofillParent.init logging to load logging code later. r=steveck draft
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Thu, 18 May 2017 23:58:02 -0700
changeset 581018 29ca15c1af847efa5470447a52c171cfb91fe7f6
parent 581017 a9c9897545967b2b36ff2f1c2e5d22405ed992f9
child 629463 9541c1144450936aa1997b98078c405ef449b6ba
push id59746
push usermozilla@noorenberghe.ca
push dateFri, 19 May 2017 07:00:34 +0000
reviewerssteveck
bugs1364477
milestone55.0a1
Bug 1364477 - Remove FormAutofillParent.init logging to load logging code later. r=steveck This helps with 7ms on ts_paint linux64 opt e10s MozReview-Commit-ID: KwlQFbYDJr1
browser/extensions/formautofill/FormAutofillParent.jsm
--- a/browser/extensions/formautofill/FormAutofillParent.jsm
+++ b/browser/extensions/formautofill/FormAutofillParent.jsm
@@ -70,18 +70,16 @@ FormAutofillParent.prototype = {
    * Cache of the Form Autofill status (considering preferences and storage).
    */
   _active: null,
 
   /**
    * Initializes ProfileStorage and registers the message handler.
    */
   async init() {
-    log.debug("init");
-
     Services.obs.addObserver(this, "advanced-pane-loaded");
     Services.ppmm.addMessageListener("FormAutofill:InitParent", this);
     Services.ppmm.addMessageListener("FormAutofill:GetAddresses", this);
     Services.ppmm.addMessageListener("FormAutofill:SaveAddress", this);
     Services.ppmm.addMessageListener("FormAutofill:RemoveAddresses", this);
 
     // Observing the pref and storage changes
     Services.prefs.addObserver(ENABLED_PREF, this);