Index: gpu/gles2_conform_support/egl/display.cc |
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc |
index 304eab1d0d1c792234a4f8a40ff0d32a95941a28..1d3fea61bb0f8b83a48f8d2928a6a0a56250d09e 100644 |
--- a/gpu/gles2_conform_support/egl/display.cc |
+++ b/gpu/gles2_conform_support/egl/display.cc |
@@ -112,10 +112,8 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config, |
if (!command_buffer->Initialize()) |
return NULL; |
- gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(NULL, |
- NULL, |
- NULL, |
- true)); |
+ scoped_refptr<gpu::gles2::ContextGroup> group( |
+ new gpu::gles2::ContextGroup(NULL, NULL, NULL, true)); |
decoder_.reset(gpu::gles2::GLES2Decoder::Create(group.get())); |
if (!decoder_.get()) |