summaryrefslogtreecommitdiffstats
path: root/chrome/common/web_database_observer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/web_database_observer_impl.cc')
-rw-r--r--chrome/common/web_database_observer_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/web_database_observer_impl.cc b/chrome/common/web_database_observer_impl.cc
index 32d358c..8c008e4 100644
--- a/chrome/common/web_database_observer_impl.cc
+++ b/chrome/common/web_database_observer_impl.cc
@@ -45,7 +45,7 @@ void WebDatabaseObserverImpl::databaseClosed(
void WebDatabaseObserverImpl::WaitForAllDatabasesToClose() {
if (!database_connections_.IsEmpty()) {
- AutoReset waiting_for_dbs_auto_reset(&waiting_for_dbs_to_close_, true);
+ AutoReset<bool> waiting_for_dbs_auto_reset(&waiting_for_dbs_to_close_, true);
MessageLoop::ScopedNestableTaskAllower nestable(MessageLoop::current());
MessageLoop::current()->Run();
}