Index: gpu/gles2_conform_support/egl/context.cc |
diff --git a/gpu/gles2_conform_support/egl/context.cc b/gpu/gles2_conform_support/egl/context.cc |
index 47ae35fab0467d1eb7630de37dff29bd6a6494df..3064e8f04d7cd1a3a8162efa6bbdb2e542e94184 100644 |
--- a/gpu/gles2_conform_support/egl/context.cc |
+++ b/gpu/gles2_conform_support/egl/context.cc |
@@ -255,7 +255,8 @@ bool Context::CreateService(gfx::GLSurface* gl_surface) { |
return false; |
scoped_refptr<gpu::gles2::ContextGroup> group(new gpu::gles2::ContextGroup( |
- NULL, NULL, new gpu::gles2::ShaderTranslatorCache, |
+ display_->gpu_preferences(), NULL, NULL, |
+ new gpu::gles2::ShaderTranslatorCache(display_->gpu_preferences()), |
new gpu::gles2::FramebufferCompletenessCache, NULL, NULL, NULL, true)); |
scoped_ptr<gpu::gles2::GLES2Decoder> decoder( |