| 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 c4fd16b05f8034e73af7c2b2f1339b871d87b973..af9f9e73ef145aeb5f5318b647a16d6649bc4bc2 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp
|
| @@ -21,13 +21,12 @@ WebGLContextAttributes toWebGLContextAttributes(const CanvasContextCreationAttri
|
| return result;
|
| }
|
|
|
| -WebGraphicsContext3D::Attributes toWebGraphicsContext3DAttributes(const WebGLContextAttributes& attrs, const WebString& topDocumentURL, unsigned webGLVersion)
|
| +Platform::ContextAttributes toPlatformContextAttributes(const WebGLContextAttributes& attrs, unsigned webGLVersion)
|
| {
|
| - WebGraphicsContext3D::Attributes result;
|
| + Platform::ContextAttributes result;
|
| result.failIfMajorPerformanceCaveat = attrs.failIfMajorPerformanceCaveat();
|
| result.shareResources = false;
|
| result.preferDiscreteGPU = true;
|
| - result.topDocumentURL = topDocumentURL;
|
| result.webGLVersion = webGLVersion;
|
| return result;
|
| }
|
|
|