| 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 13df96f6b76be27f11497d4eaef3ccd99c947b61..3bdf30750e2b22ec6b79e08100518f4cd185ec01 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -950,14 +950,6 @@ void GpuCommandBufferStub::OnRegisterGpuMemoryBuffer(
|
| uint32 height,
|
| uint32 internalformat) {
|
| TRACE_EVENT0("gpu", "GpuCommandBufferStub::OnRegisterGpuMemoryBuffer");
|
| -#if defined(OS_ANDROID)
|
| - // Verify that renderer is not trying to use a surface texture it doesn't own.
|
| - if (handle.type == gfx::SURFACE_TEXTURE_BUFFER &&
|
| - handle.surface_texture_id.secondary_id != channel()->client_id()) {
|
| - LOG(ERROR) << "Illegal surface texture ID for renderer.";
|
| - return;
|
| - }
|
| -#endif
|
|
|
| if (!decoder_)
|
| return;
|
|
|