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

Unified Diff: Source/core/html/canvas/WebGLBuffer.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/WebGLBuffer.h
diff --git a/Source/core/html/canvas/WebGLBuffer.h b/Source/core/html/canvas/WebGLBuffer.h
index dff77415bbda8486e42f041c8e75b267b04a1259..66c2c4f16e27cf83f6b2762464461dd8369ea93d 100644
--- a/Source/core/html/canvas/WebGLBuffer.h
+++ b/Source/core/html/canvas/WebGLBuffer.h
@@ -37,7 +37,7 @@ class WebGLBuffer FINAL : public WebGLSharedObject, public ScriptWrappable {
public:
virtual ~WebGLBuffer();
- static PassRefPtr<WebGLBuffer> create(WebGLRenderingContextBase*);
+ static PassRefPtrWillBeRawPtr<WebGLBuffer> create(WebGLRenderingContextBase*);
GLenum getTarget() const { return m_target; }
void setTarget(GLenum);
@@ -45,7 +45,7 @@ public:
bool hasEverBeenBound() const { return object() && m_target; }
protected:
- WebGLBuffer(WebGLRenderingContextBase*);
+ explicit WebGLBuffer(WebGLRenderingContextBase*);
virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, Platform3DObject) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698