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

Unified Diff: webkit/browser/appcache/appcache_storage_impl_unittest.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « ui/compositor/layer.cc ('k') | webkit/browser/blob/blob_storage_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/appcache/appcache_storage_impl_unittest.cc
diff --git a/webkit/browser/appcache/appcache_storage_impl_unittest.cc b/webkit/browser/appcache/appcache_storage_impl_unittest.cc
index 81d9ae486393c64bad290c82852d6b07fa16baa9..5fbf3b49a4cd12f655dced4de3c2f4dd8a9b64ef 100644
--- a/webkit/browser/appcache/appcache_storage_impl_unittest.cc
+++ b/webkit/browser/appcache/appcache_storage_impl_unittest.cc
@@ -146,11 +146,12 @@ class AppCacheStorageImplTest : public testing::Test {
class MockQuotaManager : public quota::QuotaManager {
public:
MockQuotaManager()
- : QuotaManager(true /* is_incognito */, base::FilePath(),
- io_thread->message_loop_proxy(),
- db_thread->message_loop_proxy(),
- NULL),
- async_(false) {}
+ : QuotaManager(true /* is_incognito */,
+ base::FilePath(),
+ io_thread->message_loop_proxy().get(),
+ db_thread->message_loop_proxy().get(),
+ NULL),
+ async_(false) {}
virtual void GetUsageAndQuota(
const GURL& origin,
@@ -281,7 +282,7 @@ class AppCacheStorageImplTest : public testing::Test {
DCHECK(base::MessageLoop::current() == io_thread->message_loop());
service_.reset(new AppCacheService(NULL));
service_->Initialize(
- base::FilePath(), db_thread->message_loop_proxy(), NULL);
+ base::FilePath(), db_thread->message_loop_proxy().get(), NULL);
mock_quota_manager_proxy_ = new MockQuotaManagerProxy();
service_->quota_manager_proxy_ = mock_quota_manager_proxy_;
delegate_.reset(new MockStorageDelegate(this));
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/browser/blob/blob_storage_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698