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

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

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/WebGLUniformLocation.h ('k') | Source/modules/webgl/WebGLUniformLocation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLUniformLocation.cpp
diff --git a/Source/modules/webgl/WebGLUniformLocation.cpp b/Source/modules/webgl/WebGLUniformLocation.cpp
index 7c946ed5ae0f8e32a1fbcdcd819a60a2890af284..97da33af51ef5f873b49cd361a8efa33169ad9e5 100644
--- a/Source/modules/webgl/WebGLUniformLocation.cpp
+++ b/Source/modules/webgl/WebGLUniformLocation.cpp
@@ -30,9 +30,9 @@
namespace blink {
-PassRefPtrWillBeRawPtr<WebGLUniformLocation> WebGLUniformLocation::create(WebGLProgram* program, GLint location)
+WebGLUniformLocation* WebGLUniformLocation::create(WebGLProgram* program, GLint location)
{
- return adoptRefWillBeNoop(new WebGLUniformLocation(program, location));
+ return new WebGLUniformLocation(program, location);
}
WebGLUniformLocation::WebGLUniformLocation(WebGLProgram* program, GLint location)
@@ -49,7 +49,7 @@ WebGLProgram* WebGLUniformLocation::program() const
// longer valid.
if (m_program->linkCount() != m_linkCount)
return 0;
- return m_program.get();
+ return m_program;
}
GLint WebGLUniformLocation::location() const
« no previous file with comments | « Source/modules/webgl/WebGLUniformLocation.h ('k') | Source/modules/webgl/WebGLUniformLocation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698