Index: content/common/gpu/gpu_command_buffer_stub.cc |
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc |
index 3795fa7acf1e09a2c7472093ce1e3d2967cee6c1..1957805d06116075386f86a4f161103f6b8704d6 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.cc |
+++ b/content/common/gpu/gpu_command_buffer_stub.cc |
@@ -936,8 +936,8 @@ void GpuCommandBufferStub::OnRegisterGpuMemoryBuffer( |
#if defined(OS_ANDROID) |
// Verify that renderer is not trying to use a surface texture it doesn't own. |
if (gpu_memory_buffer.type == gfx::SURFACE_TEXTURE_BUFFER && |
- gpu_memory_buffer.surface_texture_id.secondary_id != |
- channel()->client_id()) { |
+ gpu_memory_buffer.gpu_memory_id.secondary_id != |
+ channel()->renderer_pid()) { |
LOG(ERROR) << "Illegal surface texture ID for renderer."; |
return; |
} |