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

Unified Diff: webkit/browser/quota/quota_manager_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 | « webkit/browser/quota/mock_quota_manager_unittest.cc ('k') | webkit/common/blob/scoped_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/quota/quota_manager_unittest.cc
diff --git a/webkit/browser/quota/quota_manager_unittest.cc b/webkit/browser/quota/quota_manager_unittest.cc
index 809fb2309c4fa737022f5a59aeaa005c50cffc0b..f47d106b1df4dc98e451a7eaaf7f2ec685748961 100644
--- a/webkit/browser/quota/quota_manager_unittest.cc
+++ b/webkit/browser/quota/quota_manager_unittest.cc
@@ -76,8 +76,8 @@ class QuotaManagerTest : public testing::Test {
void ResetQuotaManager(bool is_incognito) {
quota_manager_ = new QuotaManager(is_incognito,
data_dir_.path(),
- MessageLoopProxy::current(),
- MessageLoopProxy::current(),
+ MessageLoopProxy::current().get(),
+ MessageLoopProxy::current().get(),
mock_special_storage_policy_.get());
// Don't (automatically) start the eviction for testing.
quota_manager_->eviction_disabled_ = true;
« no previous file with comments | « webkit/browser/quota/mock_quota_manager_unittest.cc ('k') | webkit/common/blob/scoped_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698