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

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: 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/WebGLContextAttributes.h
diff --git a/Source/core/html/canvas/WebGLContextAttributes.h b/Source/core/html/canvas/WebGLContextAttributes.h
index e43d5b027ab4961de46221da09f7b812f72fcb52..0ecbe333ae33de18f2f0fbdb3ab4f187fff05861 100644
--- a/Source/core/html/canvas/WebGLContextAttributes.h
+++ b/Source/core/html/canvas/WebGLContextAttributes.h
@@ -37,14 +37,13 @@ namespace blink {
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