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

Unified Diff: Source/core/html/canvas/WebGLShaderPrecisionFormat.cpp

Issue 365653002: Oilpan: move 2D Canvas and WebGL objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Smaller adjustments Created 6 years, 5 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/core/html/canvas/WebGLShaderPrecisionFormat.cpp
diff --git a/Source/core/html/canvas/WebGLShaderPrecisionFormat.cpp b/Source/core/html/canvas/WebGLShaderPrecisionFormat.cpp
index f0b49afe55abcec0eefd239f5bba1fffd2f34a72..2ac2e6e32558c54d206fa4a37cb80e01064d9592 100644
--- a/Source/core/html/canvas/WebGLShaderPrecisionFormat.cpp
+++ b/Source/core/html/canvas/WebGLShaderPrecisionFormat.cpp
@@ -31,9 +31,9 @@
namespace blink {
// static
-PassRefPtr<WebGLShaderPrecisionFormat> WebGLShaderPrecisionFormat::create(GLint rangeMin, GLint rangeMax, GLint precision)
+PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> WebGLShaderPrecisionFormat::create(GLint rangeMin, GLint rangeMax, GLint precision)
{
- return adoptRef(new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision));
+ return adoptRefWillBeNoop(new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision));
}
GLint WebGLShaderPrecisionFormat::rangeMin() const

Powered by Google App Engine
This is Rietveld 408576698