Index: webkit/browser/database/database_quota_client_unittest.cc |
diff --git a/webkit/browser/database/database_quota_client_unittest.cc b/webkit/browser/database/database_quota_client_unittest.cc |
index 4fb4a4cb8dcdc38a64dd1d701c8c8bdcfc1cf58b..329699f87e413914570a768d1d0cb8623e9640be 100644 |
--- a/webkit/browser/database/database_quota_client_unittest.cc |
+++ b/webkit/browser/database/database_quota_client_unittest.cc |
@@ -210,9 +210,8 @@ class DatabaseQuotaClientTest : public testing::Test { |
TEST_F(DatabaseQuotaClientTest, GetOriginUsage) { |
- DatabaseQuotaClient client( |
- base::MessageLoopProxy::current(), |
- mock_tracker()); |
+ DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), |
+ mock_tracker()); |
EXPECT_EQ(0, GetOriginUsage(&client, kOriginA, kTemp)); |
EXPECT_EQ(0, GetOriginUsage(&client, kOriginA, kPerm)); |
@@ -226,9 +225,8 @@ TEST_F(DatabaseQuotaClientTest, GetOriginUsage) { |
} |
TEST_F(DatabaseQuotaClientTest, GetOriginsForHost) { |
- DatabaseQuotaClient client( |
- base::MessageLoopProxy::current(), |
- mock_tracker()); |
+ DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), |
+ mock_tracker()); |
EXPECT_EQ(kOriginA.host(), kOriginB.host()); |
EXPECT_NE(kOriginA.host(), kOriginOther.host()); |
@@ -252,9 +250,8 @@ TEST_F(DatabaseQuotaClientTest, GetOriginsForHost) { |
} |
TEST_F(DatabaseQuotaClientTest, GetOriginsForType) { |
- DatabaseQuotaClient client( |
- base::MessageLoopProxy::current(), |
- mock_tracker()); |
+ DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), |
+ mock_tracker()); |
EXPECT_TRUE(GetOriginsForType(&client, kTemp).empty()); |
EXPECT_TRUE(GetOriginsForType(&client, kPerm).empty()); |
@@ -268,9 +265,8 @@ TEST_F(DatabaseQuotaClientTest, GetOriginsForType) { |
} |
TEST_F(DatabaseQuotaClientTest, DeleteOriginData) { |
- DatabaseQuotaClient client( |
- base::MessageLoopProxy::current(), |
- mock_tracker()); |
+ DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), |
+ mock_tracker()); |
// Perm deletions are short circuited in the Client and |
// should not reach the DatabaseTracker. |