Index: ui/compositor/test/in_process_context_provider.cc |
diff --git a/ui/compositor/test/in_process_context_provider.cc b/ui/compositor/test/in_process_context_provider.cc |
index 6b907c413cc8a42204f685cc6e5351b6d05baee7..dc7deaf4c76f5910f467948e2c0ae18d811c0c9a 100644 |
--- a/ui/compositor/test/in_process_context_provider.cc |
+++ b/ui/compositor/test/in_process_context_provider.cc |
@@ -161,8 +161,8 @@ class GrContext* InProcessContextProvider::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); |