Index: blimp/client/compositor/blimp_context_provider.cc |
diff --git a/blimp/client/compositor/blimp_context_provider.cc b/blimp/client/compositor/blimp_context_provider.cc |
index 24be45555188535310012bb6fe58f03fa6299f79..35c8444bb6f6eafa3e9e85783d32d80ad3e99cfe 100644 |
--- a/blimp/client/compositor/blimp_context_provider.cc |
+++ b/blimp/client/compositor/blimp_context_provider.cc |
@@ -113,8 +113,8 @@ class GrContext* BlimpContextProvider::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); |