Commit ef3b9f34 authored by reveman's avatar reveman Committed by Commit bot

content: Add missing "_" suffix to member variable.

This adds a missing "_" suffix to |ozone_buffer_factory| member
variable in ozone implementation of GpuMemoryBufferFactory interface.

BUG=
TBR=alexst@chromium.org

Review URL: https://codereview.chromium.org/594043004

Cr-Commit-Position: refs/heads/master@{#296181}
parent 7ffaaeeb
...@@ -22,7 +22,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory { ...@@ -22,7 +22,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
unsigned usage) OVERRIDE { unsigned usage) OVERRIDE {
switch (handle.type) { switch (handle.type) {
case gfx::OZONE_NATIVE_BUFFER: case gfx::OZONE_NATIVE_BUFFER:
return ozone_buffer_factory.CreateGpuMemoryBuffer( return ozone_buffer_factory_.CreateGpuMemoryBuffer(
handle.global_id, size, internalformat, usage) handle.global_id, size, internalformat, usage)
? handle ? handle
: gfx::GpuMemoryBufferHandle(); : gfx::GpuMemoryBufferHandle();
...@@ -35,7 +35,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory { ...@@ -35,7 +35,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
const gfx::GpuMemoryBufferHandle& handle) OVERRIDE { const gfx::GpuMemoryBufferHandle& handle) OVERRIDE {
switch (handle.type) { switch (handle.type) {
case gfx::OZONE_NATIVE_BUFFER: case gfx::OZONE_NATIVE_BUFFER:
ozone_buffer_factory.DestroyGpuMemoryBuffer(handle.global_id); ozone_buffer_factory_.DestroyGpuMemoryBuffer(handle.global_id);
break; break;
default: default:
NOTREACHED(); NOTREACHED();
...@@ -61,7 +61,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory { ...@@ -61,7 +61,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
if (handle.global_id.secondary_id != client_id) if (handle.global_id.secondary_id != client_id)
return scoped_refptr<gfx::GLImage>(); return scoped_refptr<gfx::GLImage>();
return ozone_buffer_factory.CreateImageForGpuMemoryBuffer( return ozone_buffer_factory_.CreateImageForGpuMemoryBuffer(
handle.global_id, size, internalformat); handle.global_id, size, internalformat);
default: default:
NOTREACHED(); NOTREACHED();
...@@ -70,7 +70,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory { ...@@ -70,7 +70,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
} }
private: private:
ui::GpuMemoryBufferFactoryOzoneNativeBuffer ozone_buffer_factory; ui::GpuMemoryBufferFactoryOzoneNativeBuffer ozone_buffer_factory_;
}; };
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment