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

Unified Diff: content/app/android/child_process_service.cc

Issue 685983005: gpu: Associate all GpuMemoryBuffers with unique IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/app/android/child_process_service.cc
diff --git a/content/app/android/child_process_service.cc b/content/app/android/child_process_service.cc
index b45a053229cb0618238d771936c66ab47e180068..b86f4c038e0a9b6fb6bb59c23552e42b8f11b117 100644
--- a/content/app/android/child_process_service.cc
+++ b/content/app/android/child_process_service.cc
@@ -68,12 +68,12 @@ class SurfaceTextureManagerImpl : public SurfaceTextureManager,
Java_ChildProcessService_destroySurfaceTextureSurface(
env, service_.obj(), surface_texture_id, client_id);
}
- virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_texture_id,
- int client_id) override {
+ virtual gfx::AcceleratedWidget AcquireNativeWidget(
+ int surface_texture_id) override {
JNIEnv* env = base::android::AttachCurrentThread();
gfx::ScopedJavaSurface surface(
- Java_ChildProcessService_getSurfaceTextureSurface(
- env, service_.obj(), surface_texture_id, client_id));
+ Java_ChildProcessService_getSurfaceTextureSurface(env, service_.obj(),
+ surface_texture_id));
if (surface.j_surface().is_null())
return NULL;

Powered by Google App Engine
This is Rietveld 408576698