Index: third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp |
index c93cecfc37fdb3d81b1c8f730635dd95d983fa27..6ffc40eef330f8ad0bc1e915ae57817e86b4e75e 100644 |
--- a/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp |
@@ -141,7 +141,7 @@ void EXTDisjointTimerQuery::queryCounterEXT(WebGLTimerQueryEXT* query, GLenum ta |
return; |
} |
- scoped.context()->contextGL()->QueryCounterEXT(query->object(), target); |
+ // Timestamps are disabled in WebGL due to lack of driver support on multiple platforms, so we don't actually perform a GL call |
query->setTarget(target); |
query->resetCachedResult(); |
} |