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

Unified Diff: chrome/browser/net/sdch_dictionary_fetcher.cc

Issue 7438002: Deprecate Profile::GetDefaultRequestContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix other references. Created 9 years, 5 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/net/sdch_dictionary_fetcher.cc
diff --git a/chrome/browser/net/sdch_dictionary_fetcher.cc b/chrome/browser/net/sdch_dictionary_fetcher.cc
index 90f317a9fc2113c1b082b962abcdb94ff78ce97f..6fc5bde1390818026d423c5796c6be3ed5fda7f3 100644
--- a/chrome/browser/net/sdch_dictionary_fetcher.cc
+++ b/chrome/browser/net/sdch_dictionary_fetcher.cc
@@ -53,7 +53,8 @@ void SdchDictionaryFetcher::StartFetching() {
DCHECK(task_is_pending_);
task_is_pending_ = false;
- net::URLRequestContextGetter* context = Profile::GetDefaultRequestContext();
+ net::URLRequestContextGetter* context =
+ Profile::Deprecated::GetDefaultRequestContext();
if (!context) {
// Shutdown in progress.
// Simulate handling of all dictionary requests by clearing queue.

Powered by Google App Engine
This is Rietveld 408576698