| Index: content/common/gpu/image_transport_surface_android.cc
|
| diff --git a/content/common/gpu/image_transport_surface_android.cc b/content/common/gpu/image_transport_surface_android.cc
|
| index 321f3ea8f3fbcdf72c3cf29ebe16ed9c229b20a9..8f374186338585569859286334c7698daf270d3c 100644
|
| --- a/content/common/gpu/image_transport_surface_android.cc
|
| +++ b/content/common/gpu/image_transport_surface_android.cc
|
| @@ -23,8 +23,7 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface(
|
| DCHECK(GpuSurfaceLookup::GetInstance());
|
| DCHECK_EQ(handle.transport_type, gfx::NATIVE_DIRECT);
|
| ANativeWindow* window =
|
| - GpuSurfaceLookup::GetInstance()->AcquireNativeWidget(
|
| - stub->surface_id());
|
| + GpuSurfaceLookup::GetInstance()->AcquireNativeWidget(handle.handle);
|
| CHECK(window) << "Failed to retrieve window handle.";
|
| scoped_refptr<gfx::GLSurface> surface =
|
| new gfx::NativeViewGLSurfaceEGL(window);
|
|
|