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

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: Have Nullable<T>::trace() use TraceIfNeeded<>. 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 a05ac089119c9cfc8bf90539f09ff8324feda635..90b05caf961d1aaace36d305e4d1427e6e245bc2 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