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

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

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Fix extension check. Created 3 years, 10 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/WebGLDebugShaders.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp b/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp
index 26dddd7f93389538db5a38bafc5ccb34907f8be4..a3b880198ffafab3168477aca9ca56dce1828675 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp
@@ -33,7 +33,10 @@
namespace blink {
WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContextBase* context)
- : WebGLExtension(context) {}
+ : WebGLExtension(context) {
+ context->extensionsUtil()->ensureExtensionEnabled(
+ "GL_ANGLE_translated_shader_source");
+}
WebGLExtensionName WebGLDebugShaders::name() const {
return WebGLDebugShadersName;

Powered by Google App Engine
This is Rietveld 408576698