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 |