| Index: components/mus/gles2/command_buffer_driver.cc
|
| diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
|
| index 07f9aed894e19d17f06917662b903502c94e9962..97f88bd5df7e5eafb70d5580f81f89798ce2fa5c 100644
|
| --- a/components/mus/gles2/command_buffer_driver.cc
|
| +++ b/components/mus/gles2/command_buffer_driver.cc
|
| @@ -114,10 +114,10 @@ bool CommandBufferDriver::DoInitialize(
|
| gpu::gles2::DisallowedFeatures disallowed_features;
|
|
|
| // TODO(piman): attributes.
|
| + const bool offscreen = true;
|
| std::vector<int32> attrib_vector;
|
| - if (!decoder_->Initialize(surface_, context_, false /* offscreen */,
|
| - gfx::Size(1, 1), disallowed_features,
|
| - attrib_vector))
|
| + if (!decoder_->Initialize(surface_, context_, offscreen, gfx::Size(1, 1),
|
| + disallowed_features, attrib_vector))
|
| return false;
|
|
|
| command_buffer_->SetPutOffsetChangeCallback(base::Bind(
|
|
|