Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp

Issue 1841643003: Remove unused fields from WebGraphicsContext3D::Attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e82d6a97f5e3a1fc1becb2778b721537d07a30bd..8b00f8cbd4f70fcad2a3745c62eb4aee18263418 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextAttributeHelpers.cpp
@@ -35,13 +35,11 @@ WebGraphicsContext3D::Attributes toWebGraphicsContext3DAttributes(const WebGLCon
result.premultipliedAlpha = attrs.premultipliedAlpha();
result.failIfMajorPerformanceCaveat = attrs.failIfMajorPerformanceCaveat();
- result.noExtensions = true;
result.shareResources = false;
result.preferDiscreteGPU = true;
result.topDocumentURL = topDocumentURL;
- result.webGL = true;
result.webGLVersion = webGLVersion;
return result;
}

Powered by Google App Engine
This is Rietveld 408576698