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

Unified Diff: mojo/services/native_viewport/native_viewport_android.cc

Issue 100623003: Remove separate thread for the shell on Android. (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 | mojo/shell/android/mojo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/native_viewport_android.cc
diff --git a/mojo/services/native_viewport/native_viewport_android.cc b/mojo/services/native_viewport/native_viewport_android.cc
index 5c03a0afcb3da8116e6961d6dfe22c7715c5c4ab..bc8071662d81c0eee8f9a3e5a0267f5e833b3d1a 100644
--- a/mojo/services/native_viewport/native_viewport_android.cc
+++ b/mojo/services/native_viewport/native_viewport_android.cc
@@ -71,10 +71,7 @@ void NativeViewportAndroid::Init() {
init->ui_runner = context_->task_runners()->ui_runner();
init->native_viewport = GetWeakPtr();
- context_->task_runners()->java_runner()->PostTask(FROM_HERE,
- base::Bind(MojoViewport::CreateForActivity,
- context_->activity(),
- init));
+ MojoViewport::CreateForActivity(context_->activity(), init);
}
void NativeViewportAndroid::Close() {
« no previous file with comments | « no previous file | mojo/shell/android/mojo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698