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

Unified Diff: Source/modules/webgl/WebGLFramebuffer.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: Detach extensions in dtor of RenderingContextBase 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
Index: Source/modules/webgl/WebGLFramebuffer.h
diff --git a/Source/modules/webgl/WebGLFramebuffer.h b/Source/modules/webgl/WebGLFramebuffer.h
index a2cd23d861b955d2febb174dcd47448dd6d0bc07..1f2eef44f993c19c0252727ee12aa1593429ba3a 100644
--- a/Source/modules/webgl/WebGLFramebuffer.h
+++ b/Source/modules/webgl/WebGLFramebuffer.h
@@ -28,8 +28,6 @@
#include "modules/webgl/WebGLContextObject.h"
#include "modules/webgl/WebGLSharedObject.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
namespace blink {
@@ -39,7 +37,7 @@ class WebGLTexture;
class WebGLFramebuffer final : public WebGLContextObject {
DEFINE_WRAPPERTYPEINFO();
public:
- class WebGLAttachment : public RefCountedWillBeGarbageCollectedFinalized<WebGLAttachment> {
+ class WebGLAttachment : public GarbageCollectedFinalized<WebGLAttachment> {
public:
virtual ~WebGLAttachment();
@@ -66,7 +64,7 @@ public:
~WebGLFramebuffer() override;
- static PassRefPtrWillBeRawPtr<WebGLFramebuffer> create(WebGLRenderingContextBase*);
+ static WebGLFramebuffer* create(WebGLRenderingContextBase*);
Platform3DObject object() const { return m_object; }
@@ -134,7 +132,7 @@ private:
Platform3DObject m_object;
- typedef WillBeHeapHashMap<GLenum, RefPtrWillBeMember<WebGLAttachment>> AttachmentMap;
+ typedef HeapHashMap<GLenum, Member<WebGLAttachment>> AttachmentMap;
AttachmentMap m_attachments;

Powered by Google App Engine
This is Rietveld 408576698