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..8b1163838d81946941ea549e068909578c393a60 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp |
@@ -25,6 +25,10 @@ Platform::ContextAttributes toPlatformContextAttributes( |
const CanvasContextCreationAttributes& attrs, |
unsigned webGLVersion) { |
Platform::ContextAttributes result; |
+ result.alpha = attrs.alpha(); |
+ result.depth = attrs.depth(); |
+ result.stencil = attrs.stencil(); |
+ result.antialias = attrs.antialias(); |
result.failIfMajorPerformanceCaveat = attrs.failIfMajorPerformanceCaveat(); |
result.webGLVersion = webGLVersion; |
return result; |