Index: content/renderer/render_widget.cc |
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc |
index 1fe6bba8ecf138b1deb93365f8ac7b68d3b97b0d..f28ae7ab60fa11c4449f6e12ed2998f955c8f31a 100644 |
--- a/content/renderer/render_widget.cc |
+++ b/content/renderer/render_widget.cc |
@@ -607,6 +607,8 @@ scoped_ptr<cc::OutputSurface> RenderWidget::CreateOutputSurface() { |
attributes.noAutomaticFlushes = true; |
attributes.depth = false; |
attributes.stencil = false; |
+ if (command_line.HasSwitch(cc::switches::kForceDirectLayerDrawing)) |
+ attributes.stencil = true; |
enne (OOO)
2013/05/16 20:34:11
This change is because of https://codereview.chrom
|
WebGraphicsContext3DCommandBufferImpl* context = |
CreateGraphicsContext3D(attributes); |
if (!context) |