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

Unified Diff: content/browser/android/child_process_launcher_android.cc

Issue 1411503005: Aura on Android: content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_select_file
Patch Set: Addressing remaining feedback, cleaning up build files. Created 5 years, 1 month 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: content/browser/android/child_process_launcher_android.cc
diff --git a/content/browser/android/child_process_launcher_android.cc b/content/browser/android/child_process_launcher_android.cc
index 074904331670461cf6d68fff7cb05e7fe87110a0..94ce411ee6fa20827be82e5a15986fabc3115c4e 100644
--- a/content/browser/android/child_process_launcher_android.cc
+++ b/content/browser/android/child_process_launcher_android.cc
@@ -36,6 +36,7 @@ static void SetSurfacePeer(
base::ProcessHandle render_process_handle,
int render_frame_id,
int player_id) {
+#if !defined(USE_AURA)
int render_process_id = 0;
RenderProcessHost::iterator it = RenderProcessHost::AllHostsIterator();
while (!it.IsAtEnd()) {
@@ -77,6 +78,9 @@ static void SetSurfacePeer(
gfx::ScopedJavaSurface scoped_surface(surface);
player->SetVideoSurface(scoped_surface.Pass());
}
+#else
+ NOTREACHED();
+#endif
}
} // anonymous namespace

Powered by Google App Engine
This is Rietveld 408576698