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

Unified Diff: Source/modules/webgl/WebGLShader.h

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
« no previous file with comments | « Source/modules/webgl/WebGLSampler.idl ('k') | Source/modules/webgl/WebGLShader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLShader.h
diff --git a/Source/modules/webgl/WebGLShader.h b/Source/modules/webgl/WebGLShader.h
index bf8e36fb957431e5b4315086b6476be30054aa8f..cf7df27558d76c725e189117859015d0605e1887 100644
--- a/Source/modules/webgl/WebGLShader.h
+++ b/Source/modules/webgl/WebGLShader.h
@@ -27,6 +27,7 @@
#define WebGLShader_h
#include "modules/webgl/WebGLSharedPlatform3DObject.h"
+#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -36,7 +37,7 @@
public:
~WebGLShader() override;
- static WebGLShader* create(WebGLRenderingContextBase*, GLenum);
+ static PassRefPtrWillBeRawPtr<WebGLShader> create(WebGLRenderingContextBase*, GLenum);
GLenum type() const { return m_type; }
const String& source() const { return m_source; }
« no previous file with comments | « Source/modules/webgl/WebGLSampler.idl ('k') | Source/modules/webgl/WebGLShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698