Index: third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp b/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp |
index bf24b48cc493db93e2ab13e909380e1816151277..5b799b2ccbbc94d0e5b947150a84cc1cc20d7154 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp |
@@ -27,6 +27,10 @@ Platform::ContextAttributes toPlatformContextAttributes( |
Platform::ContextAttributes result; |
result.failIfMajorPerformanceCaveat = attrs.failIfMajorPerformanceCaveat(); |
result.webGLVersion = webGLVersion; |
+ result.supportAlpha = attrs.alpha(); |
+ result.supportDepth = attrs.depth(); |
+ result.supportStencil = attrs.stencil(); |
+ result.supportAntialias = attrs.antialias(); |
return result; |
} |