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

Unified Diff: Source/core/html/canvas/WebGLContextAttributes.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: Adjust GC_PLUGIN_IGNORE() bug reference 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/WebGLContextAttributes.h
diff --git a/Source/core/html/canvas/WebGLContextAttributes.h b/Source/core/html/canvas/WebGLContextAttributes.h
index 58e42aefd8b1ba0a7c848c92e51e5b02294a0428..849958e08886bddeb4dff5c24fcde688a0e63899 100644
--- a/Source/core/html/canvas/WebGLContextAttributes.h
+++ b/Source/core/html/canvas/WebGLContextAttributes.h
@@ -37,14 +37,13 @@ namespace WebCore {
class Settings;
class WebGLContextAttributes FINAL : public CanvasContextAttributes, public ScriptWrappable {
+ DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(WebGLContextAttributes);
public:
- virtual ~WebGLContextAttributes();
-
// Create a new attributes object
- static PassRefPtr<WebGLContextAttributes> create();
+ static PassRefPtrWillBeRawPtr<WebGLContextAttributes> create();
// Create a copy of this object.
- PassRefPtr<WebGLContextAttributes> clone() const;
+ PassRefPtrWillBeRawPtr<WebGLContextAttributes> clone() const;
// Whether or not the drawing buffer has an alpha channel; default=true
bool alpha() const;

Powered by Google App Engine
This is Rietveld 408576698