| Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| index e367fa22484c27430192df2774d3cbce97426382..39dfe40d0b77c3736d9e45649969fa9d9e1c0032 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| @@ -17,11 +17,10 @@ namespace blink {
|
| class CanvasContextCreationAttributes;
|
| class ImageBitmap;
|
|
|
| -class CORE_EXPORT OffscreenCanvas final : public GarbageCollectedFinalized<OffscreenCanvas>, public ScriptWrappable {
|
| +class CORE_EXPORT OffscreenCanvas final : public GarbageCollected<OffscreenCanvas>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| static OffscreenCanvas* create(unsigned width, unsigned height);
|
| - ~OffscreenCanvas();
|
|
|
| // IDL attributes
|
| unsigned width() const { return m_size.width(); }
|
| @@ -42,7 +41,7 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - OffscreenCanvas(const IntSize&);
|
| + explicit OffscreenCanvas(const IntSize&);
|
|
|
| using ContextFactoryVector = Vector<OwnPtr<CanvasRenderingContextFactory>>;
|
| static ContextFactoryVector& renderingContextFactories();
|
|
|