Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index 3fc39c6dda1c29f787f7a8648d00baa58d85d481..abeee053771f8bc35872846a19fe1b1e4bff1f25 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -2222,8 +2222,7 @@ bool GLES2DecoderImpl::Initialize( |
if (offscreen) { |
if (attrib_parser.samples_ > 0 && attrib_parser.sample_buffers_ > 0 && |
- (context_->HasExtension("GL_EXT_framebuffer_multisample") || |
- context_->HasExtension("GL_ANGLE_framebuffer_multisample"))) { |
+ features().chromium_framebuffer_multisample) { |
// Per ext_framebuffer_multisample spec, need max bound on sample count. |
// max_sample_count must be initialized to a sane value. If |
// glGetIntegerv() throws a GL error, it leaves its argument unchanged. |