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

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

Issue 1814263004: Remove create/delete methods from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@complex-casts
Patch Set: Created 4 years, 9 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/WebGLFramebuffer.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
index 7899c9a328dc747b9638f8f47ade5d838deab7f9..356c6da54be1fb8ca8e2e4647e05ce170094a07c 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
@@ -64,7 +64,7 @@ public:
static WebGLFramebuffer* create(WebGLRenderingContextBase*);
- Platform3DObject object() const { return m_object; }
+ uint32_t object() const { return m_object; }
Ken Russell (switch to Gerrit) 2016/03/19 01:46:39 Here and for m_object it would be semantically hel
danakj 2016/03/21 22:27:02 Done.
void setAttachmentForBoundFramebuffer(GLenum target, GLenum attachment, GLenum texTarget, WebGLTexture*, GLint level, GLint layer);
void setAttachmentForBoundFramebuffer(GLenum target, GLenum attachment, WebGLRenderbuffer*);
@@ -114,7 +114,7 @@ private:
// Check if a new drawBuffers call should be issued. This is called when we add or remove an attachment.
void drawBuffersIfNecessary(bool force);
- Platform3DObject m_object;
+ uint32_t m_object;
typedef HeapHashMap<GLenum, Member<WebGLAttachment>> AttachmentMap;

Powered by Google App Engine
This is Rietveld 408576698