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 4d7a6098855583a99d3a2ff9261597a76b6d5458..ec625f122ede18bbd7955c40704d944eb7710d8f 100644 |
--- a/gpu/gles2_conform_support/egl/context.cc |
+++ b/gpu/gles2_conform_support/egl/context.cc |
@@ -295,10 +295,9 @@ |
helper.fail_if_major_perf_caveat = false; |
helper.lose_context_when_out_of_memory = kLoseContextWhenOutOfMemory; |
helper.context_type = gpu::gles2::CONTEXT_TYPE_OPENGLES2; |
- helper.offscreen_framebuffer_size = gl_surface->GetSize(); |
if (!decoder->Initialize(gl_surface, gl_context.get(), |
- gl_surface->IsOffscreen(), |
+ gl_surface->IsOffscreen(), gl_surface->GetSize(), |
gpu::gles2::DisallowedFeatures(), helper)) { |
return false; |
} |