Bug 696591: Followup to placate clang on this CLOSED TREE.
authorKyle Huey <khuey@kylehuey.com>
Thu, 20 Dec 2012 06:46:15 -0800
changeset 125736 e7efeccbef31c3887d967e4938c780681ffd0e22
parent 125735 91dae828764356a04eda7c4a41bef0c28d01944d
child 125737 f042470c7ae896887b25beacf64d3cf3abeadb1a
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs696591
milestone20.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 696591: Followup to placate clang on this CLOSED TREE.
dom/indexedDB/OpenDatabaseHelper.cpp
--- a/dom/indexedDB/OpenDatabaseHelper.cpp
+++ b/dom/indexedDB/OpenDatabaseHelper.cpp
@@ -1512,18 +1512,17 @@ public:
       }
 
       // Next check if it's in the process of being bfcached.
       nsPIDOMWindow* owner = database->GetOwner();
       if (owner && owner->IsFrozen()) {
         // We can't kick the document out of the bfcache because it's not yet
         // fully in the bfcache.  Instead we'll abort everything for the window
         // and mark it as not-bfcacheable.
-        indexedDB::IndexedDatabaseManager* manager =
-          indexedDB::IndexedDatabaseManager::Get();
+        IndexedDatabaseManager* manager = IndexedDatabaseManager::Get();
         NS_ASSERTION(manager, "Huh?");
         manager->AbortCloseDatabasesForWindow(owner);
 
         NS_ASSERTION(database->IsClosed(),
                    "AbortCloseDatabasesForWindow should have closed database");
         ownerDoc->DisallowBFCaching();
         continue;
       }