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

Unified Diff: third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h

Issue 1824433002: Remove getError() and synthesizeGLError() from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simples-tplus
Patch Set: errors: rebase 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/platform/graphics/test/MockWebGraphicsContext3D.h
diff --git a/third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h b/third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h
index 46fc70b1911e0f1a1db9ce1e2fd79aafccd591b9..9eedb08ec13e5b8744d65548aeda94ffefef0a50 100644
--- a/third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h
+++ b/third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h
@@ -41,8 +41,6 @@ public:
{
}
- virtual void synthesizeGLError(WGC3Denum) { }
-
virtual WebString getRequestableExtensionsCHROMIUM() { return WebString(); }
virtual void blitFramebufferCHROMIUM(WGC3Dint srcX0, WGC3Dint srcY0, WGC3Dint srcX1, WGC3Dint srcY1, WGC3Dint dstX0, WGC3Dint dstY0, WGC3Dint dstX1, WGC3Dint dstY1, WGC3Dbitfield mask, WGC3Denum filter) { }
@@ -52,7 +50,6 @@ public:
virtual bool getActiveAttrib(WebGLId program, WGC3Duint index, ActiveInfo&) { return false; }
virtual bool getActiveUniform(WebGLId program, WGC3Duint index, ActiveInfo&) { return false; }
virtual Attributes getContextAttributes() { return m_attrs; }
- virtual WGC3Denum getError() { return 0; }
virtual WebString getProgramInfoLog(WebGLId program) { return WebString(); }
virtual WebString getShaderInfoLog(WebGLId shader) { return WebString(); }
virtual WebString getShaderSource(WebGLId shader) { return WebString(); }

Powered by Google App Engine
This is Rietveld 408576698