| Index: content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| index a006f1efba1591d4b559b214a4975af22dbc52b9..428adb8f96f0612f796a960252458926a928bd33 100644
|
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| @@ -376,10 +376,11 @@ void BrowserGpuChannelHostFactory::GpuChannelEstablished() {
|
| }
|
|
|
| scoped_ptr<gfx::GpuMemoryBuffer>
|
| - BrowserGpuChannelHostFactory::AllocateGpuMemoryBuffer(
|
| - size_t width,
|
| - size_t height,
|
| - unsigned internalformat) {
|
| +BrowserGpuChannelHostFactory::AllocateGpuMemoryBuffer(
|
| + size_t width,
|
| + size_t height,
|
| + unsigned internalformat,
|
| + gfx::GpuMemoryBuffer::Usage usage) {
|
| if (!GpuMemoryBufferImpl::IsFormatValid(internalformat))
|
| return scoped_ptr<gfx::GpuMemoryBuffer>();
|
|
|
|
|