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

Unified Diff: Source/modules/webgl/WebGLUniformLocation.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/WebGLTransformFeedback.idl ('k') | Source/modules/webgl/WebGLUniformLocation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLUniformLocation.h
diff --git a/Source/modules/webgl/WebGLUniformLocation.h b/Source/modules/webgl/WebGLUniformLocation.h
index 44bba2ca35e01814733cf2bc730ee0a6eeabce7d..41f3b70deed15468a34fdf39d6a03a89f9a6ad20 100644
--- a/Source/modules/webgl/WebGLUniformLocation.h
+++ b/Source/modules/webgl/WebGLUniformLocation.h
@@ -29,13 +29,15 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/webgl/WebGLProgram.h"
+#include "wtf/PassRefPtr.h"
+#include "wtf/RefCounted.h"
namespace blink {
-class WebGLUniformLocation final : public GarbageCollected<WebGLUniformLocation>, public ScriptWrappable {
+class WebGLUniformLocation final : public RefCountedWillBeGarbageCollected<WebGLUniformLocation>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static WebGLUniformLocation* create(WebGLProgram*, GLint location);
+ static PassRefPtrWillBeRawPtr<WebGLUniformLocation> create(WebGLProgram*, GLint location);
WebGLProgram* program() const;
@@ -47,7 +49,7 @@
WebGLUniformLocation(WebGLProgram*, GLint location);
private:
- Member<WebGLProgram> m_program;
+ RefPtrWillBeMember<WebGLProgram> m_program;
GLint m_location;
unsigned m_linkCount;
};
« no previous file with comments | « Source/modules/webgl/WebGLTransformFeedback.idl ('k') | Source/modules/webgl/WebGLUniformLocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698