Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: webkit/quota/quota_manager_unittest.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/quota/mock_storage_client.cc ('k') | webkit/quota/quota_task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_manager_unittest.cc
diff --git a/webkit/quota/quota_manager_unittest.cc b/webkit/quota/quota_manager_unittest.cc
index f43bd640e80cba7fb00c4ae9fb08e2fc83addfbe..3e6b32a81ce033520644cfb10ad96cfe273a8ca9 100644
--- a/webkit/quota/quota_manager_unittest.cc
+++ b/webkit/quota/quota_manager_unittest.cc
@@ -52,8 +52,8 @@ class QuotaManagerTest : public testing::Test {
quota_manager_ = new QuotaManager(
false /* is_incognito */,
data_dir_.path(),
- MessageLoopProxy::CreateForCurrentThread(),
- MessageLoopProxy::CreateForCurrentThread(),
+ MessageLoopProxy::current(),
+ MessageLoopProxy::current(),
mock_special_storage_policy_);
// Don't (automatically) start the eviction for testing.
quota_manager_->eviction_disabled_ = true;
« no previous file with comments | « webkit/quota/mock_storage_client.cc ('k') | webkit/quota/quota_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698