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 4b010f24152222e7c39d9d9ecebe6798ac47da14..644531fd49e60c567ccade3a681b2825182797dd 100644 |
--- a/gpu/gles2_conform_support/egl/display.cc |
+++ b/gpu/gles2_conform_support/egl/display.cc |
@@ -166,7 +166,8 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config, |
return NULL; |
scoped_refptr<gpu::gles2::ContextGroup> group(new gpu::gles2::ContextGroup( |
- NULL, NULL, new gpu::gles2::ShaderTranslatorCache, |
+ gpu_preferences_, NULL, NULL, |
+ new gpu::gles2::ShaderTranslatorCache(gpu_preferences_), |
new gpu::gles2::FramebufferCompletenessCache, NULL, NULL, NULL, true)); |
decoder_.reset(gpu::gles2::GLES2Decoder::Create(group.get())); |