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

Unified Diff: chrome/browser/chromeos/imageburner/burn_manager.cc

Issue 16998003: Update CrOS to use scoped_refptr<T>::get() rather than 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: chrome/browser/chromeos/imageburner/burn_manager.cc
diff --git a/chrome/browser/chromeos/imageburner/burn_manager.cc b/chrome/browser/chromeos/imageburner/burn_manager.cc
index ad08fc0611d19be73ecda1ae2c8a7fe098a9c5db..f50fed263f2009147ed4d8510baccc6ee89f803b 100644
--- a/chrome/browser/chromeos/imageburner/burn_manager.cc
+++ b/chrome/browser/chromeos/imageburner/burn_manager.cc
@@ -364,7 +364,7 @@ void BurnManager::FetchConfigFile() {
config_fetcher_.reset(net::URLFetcher::Create(
config_file_url_, net::URLFetcher::GET, this));
- config_fetcher_->SetRequestContext(url_request_context_getter_);
+ config_fetcher_->SetRequestContext(url_request_context_getter_.get());
config_fetcher_->Start();
}
@@ -384,7 +384,7 @@ void BurnManager::FetchImage() {
image_fetcher_.reset(net::URLFetcher::Create(image_download_url_,
net::URLFetcher::GET,
this));
- image_fetcher_->SetRequestContext(url_request_context_getter_);
+ image_fetcher_->SetRequestContext(url_request_context_getter_.get());
image_fetcher_->SaveResponseToFileAtPath(
zip_image_file_path_,
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));

Powered by Google App Engine
This is Rietveld 408576698