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

Unified Diff: Source/modules/webgl/WebGLActiveInfo.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/WebGL2RenderingContextBase.cpp ('k') | Source/modules/webgl/WebGLActiveInfo.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLActiveInfo.h
diff --git a/Source/modules/webgl/WebGLActiveInfo.h b/Source/modules/webgl/WebGLActiveInfo.h
index 24c2246b6932089d1402edeb3b380c812dad3fac..57e34c4ccb0f16c2096c12811a64e2003ca9427a 100644
--- a/Source/modules/webgl/WebGLActiveInfo.h
+++ b/Source/modules/webgl/WebGLActiveInfo.h
@@ -28,18 +28,15 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/graphics/GraphicsTypes3D.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
-#include "wtf/text/WTFString.h"
namespace blink {
-class WebGLActiveInfo final : public RefCountedWillBeGarbageCollectedFinalized<WebGLActiveInfo>, public ScriptWrappable {
+class WebGLActiveInfo final : public GarbageCollectedFinalized<WebGLActiveInfo>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<WebGLActiveInfo> create(const String& name, GLenum type, GLint size)
+ static WebGLActiveInfo* create(const String& name, GLenum type, GLint size)
{
- return adoptRefWillBeNoop(new WebGLActiveInfo(name, type, size));
+ return new WebGLActiveInfo(name, type, size);
}
String name() const { return m_name; }
GLenum type() const { return m_type; }
« no previous file with comments | « Source/modules/webgl/WebGL2RenderingContextBase.cpp ('k') | Source/modules/webgl/WebGLActiveInfo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698