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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.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/WebGLSharedPlatform3DObject.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.h b/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.h
index 37573fc5d4db9872d3db7bc76121e4e82e451f68..f25d04452198ceaa99a94983656b2da3158a8423 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.h
@@ -16,15 +16,15 @@ class WebGLSharedPlatform3DObject : public WebGLSharedObject {
public:
~WebGLSharedPlatform3DObject() override;
- Platform3DObject object() const { return m_object; }
- void setObject(Platform3DObject);
+ GLuint object() const { return m_object; }
+ void setObject(GLuint);
protected:
explicit WebGLSharedPlatform3DObject(WebGLRenderingContextBase*);
bool hasObject() const override;
- Platform3DObject m_object;
+ GLuint m_object;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698