| Index: content/common/child_process_host_impl.cc
|
| diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
|
| index efdd925a62567da623952532d749a643eee0d50c..7d883357d0aa3b04493cb9a65ca17b00d2554334 100644
|
| --- a/content/common/child_process_host_impl.cc
|
| +++ b/content/common/child_process_host_impl.cc
|
| @@ -308,11 +308,9 @@ void ChildProcessHostImpl::OnAllocateGpuMemoryBuffer(
|
| uint32 height,
|
| uint32 internalformat,
|
| gfx::GpuMemoryBufferHandle* handle) {
|
| - handle->type = gfx::SHARED_MEMORY_BUFFER;
|
| - AllocateSharedMemory(
|
| - width * height * GpuMemoryBufferImpl::BytesPerPixel(internalformat),
|
| - peer_handle_,
|
| - &handle->handle);
|
| + // TODO(jun.a.jiang): simply set the type to gfx::SURFACE_TEXTURE_BUFFER
|
| + // here and more is needed when this code snippet is reached.
|
| + handle->type = gfx::SURFACE_TEXTURE_BUFFER;
|
| }
|
|
|
| } // namespace content
|
|
|