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

Unified Diff: Source/modules/webgl/WebGLShaderPrecisionFormat.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/WebGLShader.idl ('k') | Source/modules/webgl/WebGLShaderPrecisionFormat.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLShaderPrecisionFormat.h
diff --git a/Source/modules/webgl/WebGLShaderPrecisionFormat.h b/Source/modules/webgl/WebGLShaderPrecisionFormat.h
index 1b2c998681e0bdf74bbe69edea60ae0e1cb3ffce..fc8d9d21c317500b04a9b1439136009fd874a13c 100644
--- a/Source/modules/webgl/WebGLShaderPrecisionFormat.h
+++ b/Source/modules/webgl/WebGLShaderPrecisionFormat.h
@@ -30,15 +30,13 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/graphics/GraphicsTypes3D.h"
#include "platform/heap/Handle.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
namespace blink {
-class WebGLShaderPrecisionFormat final : public RefCountedWillBeGarbageCollected<WebGLShaderPrecisionFormat>, public ScriptWrappable {
+class WebGLShaderPrecisionFormat final : public GarbageCollected<WebGLShaderPrecisionFormat>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> create(GLint rangeMin, GLint rangeMax, GLint precision);
+ static WebGLShaderPrecisionFormat* create(GLint rangeMin, GLint rangeMax, GLint precision);
GLint rangeMin() const;
GLint rangeMax() const;
« no previous file with comments | « Source/modules/webgl/WebGLShader.idl ('k') | Source/modules/webgl/WebGLShaderPrecisionFormat.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698