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

Unified Diff: webkit/appcache/appcache_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/appcache/appcache_test_helper.cc ('k') | webkit/appcache/appcache_update_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_unittest.cc
diff --git a/webkit/appcache/appcache_unittest.cc b/webkit/appcache/appcache_unittest.cc
index a00d599023158ef5337517e08ef22dc0828dc611..63ff3f0b7a7031dbae17136228e94e34edc38a8e 100644
--- a/webkit/appcache/appcache_unittest.cc
+++ b/webkit/appcache/appcache_unittest.cc
@@ -20,7 +20,7 @@ TEST(AppCacheTest, CleanupUnusedCache) {
cache->set_complete(true);
scoped_refptr<AppCacheGroup> group(
new AppCacheGroup(&service, GURL("http://blah/manifest"), 111));
- group->AddCache(cache);
+ group->AddCache(cache.get());
AppCacheHost host1(1, &frontend, &service);
AppCacheHost host2(2, &frontend, &service);
@@ -364,7 +364,7 @@ TEST(AppCacheTest, ToFromDatabaseRecords) {
std::vector<AppCacheDatabase::NamespaceRecord> fallbacks;
std::vector<AppCacheDatabase::OnlineWhiteListRecord> whitelists;
cache->ToDatabaseRecords(
- group, &cache_record, &entries,
+ group.get(), &cache_record, &entries,
&intercepts, &fallbacks, &whitelists);
EXPECT_EQ(kCacheId, cache_record.cache_id);
EXPECT_EQ(kGroupId, cache_record.group_id);
« no previous file with comments | « webkit/appcache/appcache_test_helper.cc ('k') | webkit/appcache/appcache_update_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698