Bug 861903 - Bustage fix.
authorBen Turner <bent.mozilla@gmail.com>
Fri, 10 May 2013 16:01:55 -0700
changeset 138305 c26ceab0906437078fc1f6e424c882425ee35d7e
parent 138304 462c163822b35b34c36930763a39074c75b0a4be
child 138306 ee537efbe1e2e9280e0b53f96451e77459a94ee0
push id3752
push userlsblakk@mozilla.com
push dateMon, 13 May 2013 17:21:10 +0000
treeherdermozilla-aurora@1580544aef0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs861903
milestone23.0a1
Bug 861903 - Bustage fix.
dom/indexedDB/IndexedDatabaseManager.cpp
--- a/dom/indexedDB/IndexedDatabaseManager.cpp
+++ b/dom/indexedDB/IndexedDatabaseManager.cpp
@@ -508,17 +508,17 @@ IndexedDatabaseManager::InitWindowless(c
 
 NS_IMETHODIMP
 IndexedDatabaseManager::Observe(nsISupports* aSubject, const char* aTopic,
                                 const PRUnichar* aData)
 {
   NS_ASSERTION(IsMainProcess(), "Wrong process!");
   NS_ASSERTION(NS_IsMainThread(), "Wrong thread!");
 
-  if (!strcmp(aTopic, LOW_DISK_SPACE_OBSERVER_ID)) {
+  if (!strcmp(aTopic, DISKSPACEWATCHER_OBSERVER_TOPIC)) {
     NS_ASSERTION(aData, "No data?!");
 
     const nsDependentString data(aData);
 
     if (data.EqualsLiteral(LOW_DISK_SPACE_DATA_FULL)) {
       PR_ATOMIC_SET(&sLowDiskSpaceMode, 1);
     }
     else if (data.EqualsLiteral(LOW_DISK_SPACE_DATA_FREE)) {