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

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

Issue 2025703002: Pack repeated code in tex(Sub)Image2D and texSubImage3D into helper func (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make validateTexture3DBinding pure virtual in WebGLBase Created 4 years, 7 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/WebGLRenderingContext.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
index bd12bf13dc5d2de9f75df2e808a6c49e70e56166..8dd4da88fe17a9105f1de8ceeb8340893cff85c8 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
@@ -57,6 +57,7 @@ public:
void registerContextExtensions() override;
void setCanvasGetContextResult(RenderingContext&) final;
void setOffscreenCanvasGetContextResult(OffscreenRenderingContext&) final;
+ WebGLTexture* validateTexture3DBinding(const char* functionName, GLenum target) final { return nullptr; }
EAGERLY_FINALIZE();
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698