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

Unified Diff: chrome/browser/chromeos/customization_document.cc

Issue 102973008: Removing GetDefaultProfile from CustomizationDocument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/customization_document.cc
diff --git a/chrome/browser/chromeos/customization_document.cc b/chrome/browser/chromeos/customization_document.cc
index 97714171a48ecd9bea3a5fb3a5b932c5b78e4c61..847aa271dd912eb2b915533a944da84199374562 100644
--- a/chrome/browser/chromeos/customization_document.cc
+++ b/chrome/browser/chromeos/customization_document.cc
@@ -297,8 +297,7 @@ void ServicesCustomizationDocument::StartFileFetch() {
DCHECK(url_.is_valid());
url_fetcher_.reset(net::URLFetcher::Create(
url_, net::URLFetcher::GET, this));
- url_fetcher_->SetRequestContext(
- ProfileManager::GetDefaultProfile()->GetRequestContext());
+ url_fetcher_->SetRequestContext(g_browser_process->system_request_context());
url_fetcher_->Start();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698