Index: cc/test/test_in_process_context_provider.cc |
diff --git a/cc/test/test_in_process_context_provider.cc b/cc/test/test_in_process_context_provider.cc |
index 02c23af3df3b9ca6f00681f505d3d8f2415e7980..a56560f2cea6acded79911100185f9edce010c03 100644 |
--- a/cc/test/test_in_process_context_provider.cc |
+++ b/cc/test/test_in_process_context_provider.cc |
@@ -114,8 +114,8 @@ class GrContext* TestInProcessContextProvider::GrContext() { |
g_gles2_initializer.Get(); |
gles2::SetGLContext(ContextGL()); |
- skia::RefPtr<GrGLInterface> interface = |
- skia::AdoptRef(skia_bindings::CreateCommandBufferSkiaGLBinding()); |
+ skia::RefPtr<GrGLInterface> interface = skia::AdoptRef(new GrGLInterface); |
+ skia_bindings::InitCommandBufferSkiaGLBinding(interface.get()); |
interface->fCallback = BindGrContextCallback; |
interface->fCallbackData = reinterpret_cast<GrGLInterfaceCallbackData>(this); |