| Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| index 5895c3e3d23eecf6db60f00b16d46cc3ba120e85..9b7ee5d2eecac2602a8e4d332147e2ffba182a7e 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| @@ -115,8 +115,7 @@ void GLES2DecoderTestBase::InitDecoderWithCommandLine(
|
| const CommandLine* command_line) {
|
| Framebuffer::ClearFramebufferCompleteComboMap();
|
|
|
| - gfx::ClearGLBindings();
|
| - gfx::InitializeStaticGLBindings(gfx::kGLImplementationMockGL);
|
| + gfx::GLSurface::InitializeOneOffWithMockBindingsForTests();
|
|
|
| gl_.reset(new StrictMock<MockGLInterface>());
|
| ::gfx::GLInterface::SetGLInterface(gl_.get());
|
| @@ -292,7 +291,7 @@ void GLES2DecoderTestBase::InitDecoderWithCommandLine(
|
| context_->SetGLVersionString(gl_version);
|
|
|
| context_->MakeCurrent(surface_.get());
|
| - gfx::InitializeDynamicGLBindings(gfx::kGLImplementationMockGL, context_);
|
| + gfx::GLSurface::InitializeDynamicMockBindingsForTests(context_);
|
|
|
| int32 attributes[] = {
|
| EGL_ALPHA_SIZE, request_alpha ? 8 : 0,
|
|
|