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