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

Unified Diff: Source/core/html/canvas/OESVertexArrayObject.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/OESVertexArrayObject.h
diff --git a/Source/core/html/canvas/OESVertexArrayObject.h b/Source/core/html/canvas/OESVertexArrayObject.h
index ef4be945a6a7c7618a9ff66066712caaccb0a53e..3c08ca0ba1e3c1606de0831c620a9bfd0231cf80 100644
--- a/Source/core/html/canvas/OESVertexArrayObject.h
+++ b/Source/core/html/canvas/OESVertexArrayObject.h
@@ -37,20 +37,20 @@ class WebGLVertexArrayObjectOES;
class OESVertexArrayObject FINAL : public WebGLExtension, public ScriptWrappable {
public:
- static PassRefPtr<OESVertexArrayObject> create(WebGLRenderingContextBase*);
+ static PassRefPtrWillBeRawPtr<OESVertexArrayObject> create(WebGLRenderingContextBase*);
static bool supported(WebGLRenderingContextBase*);
static const char* extensionName();
virtual ~OESVertexArrayObject();
virtual WebGLExtensionName name() const OVERRIDE;
- PassRefPtr<WebGLVertexArrayObjectOES> createVertexArrayOES();
+ PassRefPtrWillBeRawPtr<WebGLVertexArrayObjectOES> createVertexArrayOES();
void deleteVertexArrayOES(WebGLVertexArrayObjectOES*);
GLboolean isVertexArrayOES(WebGLVertexArrayObjectOES*);
void bindVertexArrayOES(WebGLVertexArrayObjectOES*);
private:
- OESVertexArrayObject(WebGLRenderingContextBase*);
+ explicit OESVertexArrayObject(WebGLRenderingContextBase*);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698