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

Unified Diff: Source/core/html/canvas/Canvas2DContextAttributes.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/Canvas2DContextAttributes.h
diff --git a/Source/core/html/canvas/Canvas2DContextAttributes.h b/Source/core/html/canvas/Canvas2DContextAttributes.h
index baa462f7f4067d4720a0f0776e5c5e5a93a9f551..1f70732f4073f3508c21b039206b809acb47b0a1 100644
--- a/Source/core/html/canvas/Canvas2DContextAttributes.h
+++ b/Source/core/html/canvas/Canvas2DContextAttributes.h
@@ -39,11 +39,10 @@ enum Canvas2DContextStorage {
};
class Canvas2DContextAttributes : public CanvasContextAttributes, public ScriptWrappable {
+ DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(Canvas2DContextAttributes);
public:
- virtual ~Canvas2DContextAttributes();
-
// Create a new attributes object
- static PassRefPtr<Canvas2DContextAttributes> create();
+ static PassRefPtrWillBeRawPtr<Canvas2DContextAttributes> create();
// Whether or not the drawing buffer has an alpha channel; default=true
bool alpha() const;

Powered by Google App Engine
This is Rietveld 408576698