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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.h

Issue 1808403002: Move simple methods [F-S] from WebGraphicsContext3D to GLES2Interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bindFoo
Patch Set: simples-fplus: tests 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/WebGLTimerQueryEXT.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.h b/third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.h
index a5082ce8811501a1fb0658357f324adfb045a7f5..e8c4df2b6d4c4621c6629e75e8b8993db27678ee 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.h
@@ -9,6 +9,12 @@
#include "public/platform/WebThread.h"
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+}
+}
+
namespace blink {
class WebGLTimerQueryEXT : public WebGLContextObject, public WebThread::TaskObserver {
@@ -25,7 +31,7 @@ public:
GLenum target() const { return m_target; }
void resetCachedResult();
- void updateCachedResult(WebGraphicsContext3D*);
+ void updateCachedResult(gpu::gles2::GLES2Interface*);
bool isQueryResultAvailable();
GLuint64 getQueryResult();

Powered by Google App Engine
This is Rietveld 408576698