Index: content/browser/storage_partition_impl_unittest.cc |
diff --git a/content/browser/storage_partition_impl_unittest.cc b/content/browser/storage_partition_impl_unittest.cc |
index 79e33beb2500a0331329c421d40df6c0edd86f7a..db991e00ccb32a59e603d08cf723003d4d7a733f 100644 |
--- a/content/browser/storage_partition_impl_unittest.cc |
+++ b/content/browser/storage_partition_impl_unittest.cc |
@@ -81,7 +81,7 @@ class AwaitCompletionHelper { |
void Notify() { |
if (start_) { |
DCHECK(!already_quit_); |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
start_ = false; |
} else { |
DCHECK(!already_quit_); |