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

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

Issue 1234883002: [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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 01a6f1c0532cccd441895eb51c76bec55d830b57..4aa812aa309c973c63188db07036561bc64069b0 100644
--- a/Source/modules/webgl/WebGLRenderbuffer.h
+++ b/Source/modules/webgl/WebGLRenderbuffer.h
@@ -36,7 +36,7 @@ class WebGLRenderbuffer final : public WebGLSharedPlatform3DObject {
public:
~WebGLRenderbuffer() override;
- static PassRefPtrWillBeRawPtr<WebGLRenderbuffer> create(WebGLRenderingContextBase*);
+ static WebGLRenderbuffer* create(WebGLRenderingContextBase*);
void setInternalFormat(GLenum internalformat)
{
@@ -56,8 +56,8 @@ public:
void setHasEverBeenBound() { m_hasEverBeenBound = true; }
- void setEmulatedStencilBuffer(PassRefPtrWillBeRawPtr<WebGLRenderbuffer> buffer) { m_emulatedStencilBuffer = buffer; }
- WebGLRenderbuffer* emulatedStencilBuffer() const { return m_emulatedStencilBuffer.get(); }
+ void setEmulatedStencilBuffer(WebGLRenderbuffer* buffer) { m_emulatedStencilBuffer = buffer; }
+ WebGLRenderbuffer* emulatedStencilBuffer() const { return m_emulatedStencilBuffer; }
void deleteEmulatedStencilBuffer(WebGraphicsContext3D* context3d);
DECLARE_VIRTUAL_TRACE();
@@ -75,7 +75,7 @@ private:
bool m_hasEverBeenBound;
- RefPtrWillBeMember<WebGLRenderbuffer> m_emulatedStencilBuffer;
+ Member<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