Bug 1044255 - Fix 'storage.init is not a function' during startup r=margaret a=lmandel
authorMark Finkle <mfinkle@mozilla.com>
Mon, 28 Jul 2014 15:56:50 -0400
changeset 208192 26341b100b6d
parent 208191 68d81380f84c
child 208193 eb3c7dd5ac83
push id3760
push usermfinkle@mozilla.com
push date2014-07-29 19:23 +0000
treeherdermozilla-beta@26341b100b6d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, lmandel
bugs1044255
milestone32.0
Bug 1044255 - Fix 'storage.init is not a function' during startup r=margaret a=lmandel
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -1632,17 +1632,17 @@ var BrowserApp = {
 
       case "Viewport:Flush":
         this.contentDocumentChanged();
         break;
 
       case "Passwords:Init": {
         let storage = Cc["@mozilla.org/login-manager/storage/mozStorage;1"].
                       getService(Ci.nsILoginManagerStorage);
-        storage.init();
+        storage.initialize();
         Services.obs.removeObserver(this, "Passwords:Init");
         break;
       }
 
       case "FormHistory:Init": {
         // Force creation/upgrade of formhistory.sqlite
         FormHistory.count({});
         Services.obs.removeObserver(this, "FormHistory:Init");