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

Unified Diff: Source/core/html/canvas/WebGLDrawBuffers.h

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/WebGLDrawBuffers.h
diff --git a/Source/core/html/canvas/WebGLDrawBuffers.h b/Source/core/html/canvas/WebGLDrawBuffers.h
index 11c5254270ae61a2b9113e9816994ccb85a1a9b3..dc1546163d61d861d1dce2f0e643dd14d240f710 100644
--- a/Source/core/html/canvas/WebGLDrawBuffers.h
+++ b/Source/core/html/canvas/WebGLDrawBuffers.h
@@ -34,7 +34,7 @@ namespace blink {
class WebGLDrawBuffers FINAL : public WebGLExtension, public ScriptWrappable {
public:
- static PassRefPtr<WebGLDrawBuffers> create(WebGLRenderingContextBase*);
+ static PassRefPtrWillBeRawPtr<WebGLDrawBuffers> create(WebGLRenderingContextBase*);
static bool supported(WebGLRenderingContextBase*);
static const char* extensionName();
@@ -44,7 +44,7 @@ public:
void drawBuffersWEBGL(const Vector<GLenum>& buffers);
private:
- WebGLDrawBuffers(WebGLRenderingContextBase*);
+ explicit WebGLDrawBuffers(WebGLRenderingContextBase*);
static bool satisfiesWebGLRequirements(WebGLRenderingContextBase*);
};

Powered by Google App Engine
This is Rietveld 408576698