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

Unified Diff: android_webview/browser/aw_browser_context.cc

Issue 18618004: Change BrowserThreadDelegate to run Init() async. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: android_webview/browser/aw_browser_context.cc
diff --git a/android_webview/browser/aw_browser_context.cc b/android_webview/browser/aw_browser_context.cc
index 06793fa217dada615a6aae52326524e9e1a86b4f..2664ccf91215c242967603a879af887f4c4d3b35 100644
--- a/android_webview/browser/aw_browser_context.cc
+++ b/android_webview/browser/aw_browser_context.cc
@@ -87,6 +87,7 @@ AwBrowserContext* AwBrowserContext::FromWebContents(
void AwBrowserContext::InitializeBeforeThreadCreation() {
DCHECK(!url_request_context_getter_.get());
url_request_context_getter_ = new AwURLRequestContextGetter(this);
+ url_request_context_getter_->InitializeOnUiThread();
awong 2013/07/11 20:43:48 I think we have to move this into PreMainMessageLo
Maria 2013/07/11 21:11:37 I think you are correct that I cannot be creating
}
void AwBrowserContext::PreMainMessageLoopRun() {

Powered by Google App Engine
This is Rietveld 408576698