| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| index c2eae60968dbdfe8d3af0f7cc58bd8988b67a3ab..e7a022ecf5c881a35471b0ba3e489eff4f4381ae 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| @@ -885,9 +885,9 @@ PassRefPtr<DrawingBuffer> WebGLRenderingContextBase::createDrawingBuffer(PassOwn
|
| attrs.depth = m_requestedAttributes.depth();
|
| attrs.stencil = m_requestedAttributes.stencil();
|
| attrs.antialias = m_requestedAttributes.antialias();
|
| - attrs.premultipliedAlpha = m_requestedAttributes.premultipliedAlpha();
|
| + bool premultipliedAlpha = m_requestedAttributes.premultipliedAlpha();
|
| DrawingBuffer::PreserveDrawingBuffer preserve = m_requestedAttributes.preserveDrawingBuffer() ? DrawingBuffer::Preserve : DrawingBuffer::Discard;
|
| - return DrawingBuffer::create(contextProvider, clampedCanvasSize(), preserve, attrs);
|
| + return DrawingBuffer::create(contextProvider, clampedCanvasSize(), premultipliedAlpha, preserve, attrs);
|
| }
|
|
|
| void WebGLRenderingContextBase::initializeNewContext()
|
|
|