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

Unified Diff: Source/core/html/canvas/WebGLUniformLocation.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/WebGLUniformLocation.cpp
diff --git a/Source/core/html/canvas/WebGLUniformLocation.cpp b/Source/core/html/canvas/WebGLUniformLocation.cpp
index 9deb4b66863fa802a03d34a668f01dfc47e08fe0..f900793e268e8d6ae60989cb7cbc803abcb43c35 100644
--- a/Source/core/html/canvas/WebGLUniformLocation.cpp
+++ b/Source/core/html/canvas/WebGLUniformLocation.cpp
@@ -30,9 +30,9 @@
namespace blink {
-PassRefPtr<WebGLUniformLocation> WebGLUniformLocation::create(WebGLProgram* program, GLint location)
+PassRefPtrWillBeRawPtr<WebGLUniformLocation> WebGLUniformLocation::create(WebGLProgram* program, GLint location)
{
- return adoptRef(new WebGLUniformLocation(program, location));
+ return adoptRefWillBeNoop(new WebGLUniformLocation(program, location));
}
WebGLUniformLocation::WebGLUniformLocation(WebGLProgram* program, GLint location)
@@ -61,4 +61,9 @@ GLint WebGLUniformLocation::location() const
return m_location;
}
+void WebGLUniformLocation::trace(Visitor* visitor)
+{
+ visitor->trace(m_program);
+}
+
}

Powered by Google App Engine
This is Rietveld 408576698