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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 9595028: Remove hack that forced URLRequestContext initialization. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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 | « 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 2dc752273c7cd3d3ec1b9fe8b862575ee06b2ca0..ea5c20e619eab3db0bbb67b8a8c57cc897dac30b 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1819,11 +1819,6 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// If we're running tests (ui_task is non-null), then we don't want to
// call FetchLanguageListFromTranslateServer
if (parameters().ui_task == NULL && translate_manager_ != NULL) {
- // TODO(willchan): Get rid of this after TranslateManager doesn't use
- // the default request context. http://crbug.com/89396.
- // This is necessary to force |default_request_context_| to be
- // initialized.
- profile_->GetRequestContext();
translate_manager_->FetchLanguageListFromTranslateServer(
profile_->GetPrefs());
}
« 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