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

Unified Diff: webkit/database/database_quota_client_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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/database/database_quota_client.cc ('k') | webkit/dom_storage/dom_storage_cached_area.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/database/database_quota_client_unittest.cc
diff --git a/webkit/database/database_quota_client_unittest.cc b/webkit/database/database_quota_client_unittest.cc
index 0de5359e9773f849f286f2ec755d107cb25c5979..605f2cf927ab80956fdfa3ffd8f0d62f1331c51a 100644
--- a/webkit/database/database_quota_client_unittest.cc
+++ b/webkit/database/database_quota_client_unittest.cc
@@ -213,7 +213,7 @@ class DatabaseQuotaClientTest : public testing::Test {
TEST_F(DatabaseQuotaClientTest, GetOriginUsage) {
DatabaseQuotaClient client(
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
mock_tracker());
EXPECT_EQ(0, GetOriginUsage(&client, kOriginA, kTemp));
@@ -229,7 +229,7 @@ TEST_F(DatabaseQuotaClientTest, GetOriginUsage) {
TEST_F(DatabaseQuotaClientTest, GetOriginsForHost) {
DatabaseQuotaClient client(
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
mock_tracker());
EXPECT_EQ(kOriginA.host(), kOriginB.host());
@@ -255,7 +255,7 @@ TEST_F(DatabaseQuotaClientTest, GetOriginsForHost) {
TEST_F(DatabaseQuotaClientTest, GetOriginsForType) {
DatabaseQuotaClient client(
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
mock_tracker());
EXPECT_TRUE(GetOriginsForType(&client, kTemp).empty());
@@ -271,7 +271,7 @@ TEST_F(DatabaseQuotaClientTest, GetOriginsForType) {
TEST_F(DatabaseQuotaClientTest, DeleteOriginData) {
DatabaseQuotaClient client(
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
mock_tracker());
// Perm deletions are short circuited in the Client and
« no previous file with comments | « webkit/database/database_quota_client.cc ('k') | webkit/dom_storage/dom_storage_cached_area.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698