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

Unified Diff: android_webview/browser/aw_browser_main_parts.cc

Issue 14314022: android_webview: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | android_webview/browser/net/android_stream_reader_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_main_parts.cc
diff --git a/android_webview/browser/aw_browser_main_parts.cc b/android_webview/browser/aw_browser_main_parts.cc
index 60eb77cce0f79aa8566022e35d2794b432a2325b..703fd70375cc2c4112b72fcc9847d29dd641f297 100644
--- a/android_webview/browser/aw_browser_main_parts.cc
+++ b/android_webview/browser/aw_browser_main_parts.cc
@@ -41,10 +41,10 @@ void AwBrowserMainParts::PreEarlyInitialization() {
content::Compositor::DIRECT_CONTEXT_ON_DRAW_THREAD);
// Android WebView does not use default MessageLoop. It has its own
- // Android specific MessageLoop. Also see MainMessageLoopRun.
+ // Android specific base::MessageLoop. Also see MainMessageLoopRun.
joth 2013/04/27 00:59:19 nit: don't change comment (the line above wasn't,
xhwang 2013/04/27 01:19:02 Thanks. That'd due to a bug in my script. Fixed.
DCHECK(!main_message_loop_.get());
- main_message_loop_.reset(new MessageLoop(MessageLoop::TYPE_UI));
- MessageLoopForUI::current()->Start();
+ main_message_loop_.reset(new base::MessageLoop(base::MessageLoop::TYPE_UI));
+ base::MessageLoopForUI::current()->Start();
}
int AwBrowserMainParts::PreCreateThreads() {
« no previous file with comments | « no previous file | android_webview/browser/net/android_stream_reader_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698