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

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: one more ozone build fix 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
« no previous file with comments | « no previous file | content/browser/android/browser_surface_texture_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9d46e080c8222c3153f6a5f15cc58f26bfec15d4 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 AcquireNativeWidgetForSurfaceTexture(
+ 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;
« no previous file with comments | « no previous file | content/browser/android/browser_surface_texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698