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

Unified Diff: Source/modules/webgl/WebGLRenderbuffer.h

Issue 1281953003: Revert of [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/modules/webgl/WebGLQuery.idl ('k') | Source/modules/webgl/WebGLRenderbuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLRenderbuffer.h
diff --git a/Source/modules/webgl/WebGLRenderbuffer.h b/Source/modules/webgl/WebGLRenderbuffer.h
index 4aa812aa309c973c63188db07036561bc64069b0..01a6f1c0532cccd441895eb51c76bec55d830b57 100644
--- a/Source/modules/webgl/WebGLRenderbuffer.h
+++ b/Source/modules/webgl/WebGLRenderbuffer.h
@@ -36,7 +36,7 @@
public:
~WebGLRenderbuffer() override;
- static WebGLRenderbuffer* create(WebGLRenderingContextBase*);
+ static PassRefPtrWillBeRawPtr<WebGLRenderbuffer> create(WebGLRenderingContextBase*);
void setInternalFormat(GLenum internalformat)
{
@@ -56,8 +56,8 @@
void setHasEverBeenBound() { m_hasEverBeenBound = true; }
- void setEmulatedStencilBuffer(WebGLRenderbuffer* buffer) { m_emulatedStencilBuffer = buffer; }
- WebGLRenderbuffer* emulatedStencilBuffer() const { return m_emulatedStencilBuffer; }
+ void setEmulatedStencilBuffer(PassRefPtrWillBeRawPtr<WebGLRenderbuffer> buffer) { m_emulatedStencilBuffer = buffer; }
+ WebGLRenderbuffer* emulatedStencilBuffer() const { return m_emulatedStencilBuffer.get(); }
void deleteEmulatedStencilBuffer(WebGraphicsContext3D* context3d);
DECLARE_VIRTUAL_TRACE();
@@ -75,7 +75,7 @@
bool m_hasEverBeenBound;
- Member<WebGLRenderbuffer> m_emulatedStencilBuffer;
+ RefPtrWillBeMember<WebGLRenderbuffer> m_emulatedStencilBuffer;
};
} // namespace blink
« no previous file with comments | « Source/modules/webgl/WebGLQuery.idl ('k') | Source/modules/webgl/WebGLRenderbuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698