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

Unified Diff: Source/modules/webgl/WebGLFramebuffer.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/WebGLFenceSync.cpp ('k') | Source/modules/webgl/WebGLFramebuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/modules/webgl/WebGLFenceSync.cpp ('k') | Source/modules/webgl/WebGLFramebuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698