Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
index 97edb87923a75ac4c350780acd7d61bac64edd48..0ec433698eb200967e720a8baf3e32f7bff34357 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
@@ -45,7 +45,6 @@ |
#include "platform/graphics/gpu/DrawingBuffer.h" |
#include "platform/graphics/gpu/Extensions3DUtil.h" |
#include "platform/graphics/gpu/WebGLImageConversion.h" |
-#include "public/platform/WebGraphicsContext3D.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/text/WTFString.h" |
@@ -380,7 +379,6 @@ public: |
void forceRestoreContext(); |
void loseContextImpl(LostContextMode, AutoRecoveryMethod); |
- WebGraphicsContext3D* webContext() const { return drawingBuffer()->context(); } |
gpu::gles2::GLES2Interface* contextGL() const |
{ |
DrawingBuffer* d = drawingBuffer(); |
@@ -1016,8 +1014,8 @@ protected: |
DontDisplayInConsole |
}; |
- // Wrapper for WebGraphicsContext3D::synthesizeGLError that sends a message |
- // to the JavaScript console. |
+ // Reports an error to glGetError, sends a message to the JavaScript |
+ // console. |
void synthesizeGLError(GLenum, const char* functionName, const char* description, ConsoleDisplayPreference = DisplayInConsole); |
void emitGLWarning(const char* function, const char* reason); |