| 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 89bc97ed89818843d96c86b069d80bcdf9e3b997..e66d71335e06be7031c87d53471530707ad8f714 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;
|
|
|