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

Unified Diff: content/browser/appcache/chrome_appcache_service.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
Index: content/browser/appcache/chrome_appcache_service.cc
diff --git a/content/browser/appcache/chrome_appcache_service.cc b/content/browser/appcache/chrome_appcache_service.cc
index b4ba8144deff9dd1d7e440c7513b4d3aa022bd8e..1d913b938b547ae12d78cdeb75d2c4fd77941e80 100644
--- a/content/browser/appcache/chrome_appcache_service.cc
+++ b/content/browser/appcache/chrome_appcache_service.cc
@@ -43,8 +43,9 @@ void ChromeAppCacheService::InitializeOnIOThread(
Initialize(
cache_path_,
BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::FILE_USER_BLOCKING),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE));
+ BrowserThread::FILE_USER_BLOCKING)
+ .get(),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE).get());
set_appcache_policy(this);
set_special_storage_policy(special_storage_policy.get());
}
« no previous file with comments | « components/webdata/common/web_data_service_base.cc ('k') | content/browser/appcache/chrome_appcache_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698