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

Unified Diff: Source/modules/webgl/WebGLShaderPrecisionFormat.cpp

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
Index: Source/modules/webgl/WebGLShaderPrecisionFormat.cpp
diff --git a/Source/modules/webgl/WebGLShaderPrecisionFormat.cpp b/Source/modules/webgl/WebGLShaderPrecisionFormat.cpp
index 4e4b384ae04626b3b95f976bf5895a40a770c8a0..1de8bc3a37788465893a8f2af486840e1bd4b3cc 100644
--- a/Source/modules/webgl/WebGLShaderPrecisionFormat.cpp
+++ b/Source/modules/webgl/WebGLShaderPrecisionFormat.cpp
@@ -31,9 +31,9 @@
namespace blink {
// static
-WebGLShaderPrecisionFormat* WebGLShaderPrecisionFormat::create(GLint rangeMin, GLint rangeMax, GLint precision)
+PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> WebGLShaderPrecisionFormat::create(GLint rangeMin, GLint rangeMax, GLint precision)
{
- return new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision);
+ return adoptRefWillBeNoop(new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision));
}
GLint WebGLShaderPrecisionFormat::rangeMin() const
« no previous file with comments | « Source/modules/webgl/WebGLShaderPrecisionFormat.h ('k') | Source/modules/webgl/WebGLShaderPrecisionFormat.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698