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

Unified Diff: webkit/appcache/appcache_request_handler_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_request_handler.cc ('k') | webkit/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_request_handler_unittest.cc
diff --git a/webkit/appcache/appcache_request_handler_unittest.cc b/webkit/appcache/appcache_request_handler_unittest.cc
index 2abb0f4c76bf5c930e1f93670e4f3d9960bba85e..e67e46508ef5041fe839b94443f0c16c0de58593 100644
--- a/webkit/appcache/appcache_request_handler_unittest.cc
+++ b/webkit/appcache/appcache_request_handler_unittest.cc
@@ -378,7 +378,7 @@ class AppCacheRequestHandlerTest : public testing::Test {
job_ = handler_->MaybeLoadFallbackForResponse(
request_.get(), request_->context()->network_delegate());
- EXPECT_TRUE(job_);
+ EXPECT_TRUE(job_.get());
EXPECT_TRUE(job_->is_delivering_appcache_response());
int64 cache_id = kNoCacheId;
@@ -513,7 +513,7 @@ class AppCacheRequestHandlerTest : public testing::Test {
EXPECT_TRUE(job_.get());
EXPECT_TRUE(job_->is_waiting());
- host_->FinishCacheSelection(cache, NULL);
+ host_->FinishCacheSelection(cache.get(), NULL);
EXPECT_FALSE(job_->is_waiting());
EXPECT_TRUE(job_->is_delivering_error_response());
« no previous file with comments | « webkit/appcache/appcache_request_handler.cc ('k') | webkit/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698