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

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

Issue 1950763002: Remove abstractions around GLuint and GL constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/WebGLVertexArrayObjectBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h
index e598dc86441e684bae344e4a23bf24c7ad5b027e..7a1d1ac7f9255701e718854e904680eeb6cb82d6 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h
@@ -20,7 +20,7 @@ public:
~WebGLVertexArrayObjectBase() override;
- Platform3DObject object() const { return m_object; }
+ GLuint object() const { return m_object; }
bool isDefaultObject() const { return m_type == VaoTypeDefault; }
@@ -44,7 +44,7 @@ private:
bool hasObject() const override { return m_object != 0; }
void deleteObjectImpl(gpu::gles2::GLES2Interface*) override;
- Platform3DObject m_object;
+ GLuint m_object;
VaoType m_type;
bool m_hasEverBeenBound;
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.cpp ('k') | third_party/WebKit/Source/platform/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698