Bug 861903 - Bustage fix.
authorBen Turner <bent.mozilla@gmail.com>
Fri, 10 May 2013 15:22:16 -0700
changeset 142475 7a362c86108c533e7304ab7e32bfcdf841495aa3
parent 142474 519b04170b2f23961ee44d19982bed213e1e2e9f
child 142476 462c163822b35b34c36930763a39074c75b0a4be
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs861903
milestone23.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 861903 - Bustage fix.
dom/indexedDB/IndexedDatabaseManager.cpp
--- a/dom/indexedDB/IndexedDatabaseManager.cpp
+++ b/dom/indexedDB/IndexedDatabaseManager.cpp
@@ -180,17 +180,17 @@ IndexedDatabaseManager::Init()
   // During Init() we can't yet call IsMainProcess(), just check sIsMainProcess
   // directly.
   if (sIsMainProcess) {
     // Must initialize the storage service on the main thread.
     nsCOMPtr<mozIStorageService> ss =
       do_GetService(MOZ_STORAGE_SERVICE_CONTRACTID);
     NS_ENSURE_STATE(ss);
 
-    nsCOMPtr<nsIObserverService> obs = GetObserverService();
+    nsCOMPtr<nsIObserverService> obs = mozilla::services::GetObserverService();
     NS_ENSURE_STATE(obs);
 
     nsresult rv =
       obs->AddObserver(this, DISKSPACEWATCHER_OBSERVER_TOPIC, false);
     NS_ENSURE_SUCCESS(rv, rv);
   }
 
   return NS_OK;