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

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

Issue 1800383002: Disable timestamps in WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark the test as no longer flaky 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/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index 1fa00a882fa35a7e4d9f714a938e1ece4ca5c37e..ec4312f1f520eb49ec92d03ebe79aeede5f772ce 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -2767,7 +2767,7 @@ ScriptValue WebGLRenderingContextBase::getParameter(ScriptState* scriptState, GL
return ScriptValue::createNull(scriptState);
case GL_TIMESTAMP_EXT:
if (extensionEnabled(EXTDisjointTimerQueryName))
- return getInt64Parameter(scriptState, GL_TIMESTAMP_EXT);
+ return WebGLAny(scriptState, 0);
synthesizeGLError(GL_INVALID_ENUM, "getParameter", "invalid parameter name, EXT_disjoint_timer_query not enabled");
return ScriptValue::createNull(scriptState);
case GL_GPU_DISJOINT_EXT:

Powered by Google App Engine
This is Rietveld 408576698