| Index: content/renderer/render_widget.cc
|
| diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
|
| index 4f8d4d5ed585af67e99fd038acc183d698c08d05..372968474a8da314b0139324dfbf2aa4a4333b84 100644
|
| --- a/content/renderer/render_widget.cc
|
| +++ b/content/renderer/render_widget.cc
|
| @@ -576,6 +576,8 @@ scoped_ptr<cc::OutputSurface> RenderWidget::CreateOutputSurface() {
|
| attributes.antialias = false;
|
| attributes.shareResources = true;
|
| attributes.noAutomaticFlushes = true;
|
| + if (command_line.HasSwitch(cc::switches::kDrawLayersWithGanesh))
|
| + attributes.stencil = true;
|
| WebGraphicsContext3DCommandBufferImpl* context =
|
| CreateGraphicsContext3D(attributes);
|
| if (!context)
|
|
|