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

Unified Diff: Source/modules/webgl/WebGLUniformLocation.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/WebGLUniformLocation.h
diff --git a/Source/modules/webgl/WebGLUniformLocation.h b/Source/modules/webgl/WebGLUniformLocation.h
index 41f3b70deed15468a34fdf39d6a03a89f9a6ad20..44bba2ca35e01814733cf2bc730ee0a6eeabce7d 100644
--- a/Source/modules/webgl/WebGLUniformLocation.h
+++ b/Source/modules/webgl/WebGLUniformLocation.h
@@ -29,15 +29,13 @@
#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 RefCountedWillBeGarbageCollected<WebGLUniformLocation>, public ScriptWrappable {
+class WebGLUniformLocation final : public GarbageCollected<WebGLUniformLocation>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<WebGLUniformLocation> create(WebGLProgram*, GLint location);
+ static WebGLUniformLocation* create(WebGLProgram*, GLint location);
WebGLProgram* program() const;
@@ -49,7 +47,7 @@ protected:
WebGLUniformLocation(WebGLProgram*, GLint location);
private:
- RefPtrWillBeMember<WebGLProgram> m_program;
+ Member<WebGLProgram> m_program;
GLint m_location;
unsigned m_linkCount;
};

Powered by Google App Engine
This is Rietveld 408576698