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

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

Issue 1935783002: Delete blink::WebGraphicsContext3D and cc_blink::ContextProviderWebContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sharegroup
Patch Set: rmwgc3d: export Created 4 years, 8 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.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);

Powered by Google App Engine
This is Rietveld 408576698