| Index: Source/core/html/canvas/CanvasContextAttributes.h
|
| diff --git a/Source/core/html/canvas/CanvasContextAttributes.h b/Source/core/html/canvas/CanvasContextAttributes.h
|
| index 912864a6123a4470e66e818603de0510bee10bda..2f4f937761c962c8d335c71da992c26bc0bc24c2 100644
|
| --- a/Source/core/html/canvas/CanvasContextAttributes.h
|
| +++ b/Source/core/html/canvas/CanvasContextAttributes.h
|
| @@ -27,6 +27,7 @@
|
| #ifndef CanvasContextAttributes_h
|
| #define CanvasContextAttributes_h
|
|
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/RefCounted.h"
|
|
|
| namespace WebCore {
|
| @@ -34,11 +35,12 @@ namespace WebCore {
|
| // A base class for any attributes that are needed which would affect
|
| // the creation of the Canvas's rendering context.
|
|
|
| -class CanvasContextAttributes : public RefCounted<CanvasContextAttributes> {
|
| - public:
|
| - virtual ~CanvasContextAttributes();
|
| +class CanvasContextAttributes : public RefCountedWillBeGarbageCollectedFinalized<CanvasContextAttributes> {
|
| + DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(CanvasContextAttributes);
|
| +public:
|
| + virtual void trace(Visitor*) { }
|
|
|
| - protected:
|
| +protected:
|
| CanvasContextAttributes();
|
| };
|
|
|
|
|