| Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| index e4ab31ad97bf9cb696d577d6fbfac62d56ccdde1..773dc61d293b593a068730f2d415669804fbbf4d 100644
|
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| @@ -258,7 +258,7 @@ bool WebGraphicsContext3DCommandBufferImpl::CreateContext() {
|
| gles2_helper_.get(), gles2_share_group.get(), transfer_buffer_.get(),
|
| bind_generates_resources, lose_context_when_out_of_memory_,
|
| support_client_side_arrays, command_buffer_.get()));
|
| - setGLInterface(real_gl_.get());
|
| + SetGLInterface(real_gl_.get());
|
|
|
| if (!real_gl_->Initialize(
|
| mem_limits_.start_transfer_buffer_size,
|
| @@ -275,7 +275,7 @@ bool WebGraphicsContext3DCommandBufferImpl::CreateContext() {
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableGpuClientTracing)) {
|
| trace_gl_.reset(new gpu::gles2::GLES2TraceImplementation(GetGLInterface()));
|
| - setGLInterface(trace_gl_.get());
|
| + SetGLInterface(trace_gl_.get());
|
| }
|
| return true;
|
| }
|
| @@ -305,7 +305,7 @@ void WebGraphicsContext3DCommandBufferImpl::Destroy() {
|
| // issued on this context might not be visible to other contexts in the
|
| // share group.
|
| gl->Flush();
|
| - setGLInterface(NULL);
|
| + SetGLInterface(nullptr);
|
| }
|
|
|
| trace_gl_.reset();
|
| @@ -315,7 +315,7 @@ void WebGraphicsContext3DCommandBufferImpl::Destroy() {
|
| real_gl_.reset();
|
| command_buffer_.reset();
|
|
|
| - host_ = NULL;
|
| + host_ = nullptr;
|
| }
|
|
|
| gpu::ContextSupport*
|
|
|