| 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 7025234cad0bc6311574752511096c81c41e4c10..f6e592a7737d633085ef4a1abf87ebe07ae3ee42 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| @@ -11,7 +11,6 @@
|
| #include "core/html/HTMLCanvasElement.h"
|
| #include "platform/geometry/IntSize.h"
|
| #include "platform/heap/Handle.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -42,7 +41,7 @@ public:
|
| CanvasRenderingContext* getCanvasRenderingContext(ScriptState*, const String&, const CanvasContextCreationAttributes&);
|
| CanvasRenderingContext* renderingContext() { return m_context; }
|
|
|
| - static void registerRenderingContextFactory(std::unique_ptr<CanvasRenderingContextFactory>);
|
| + static void registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory>);
|
|
|
| bool originClean() const;
|
| void setOriginTainted() { m_originClean = false; }
|
| @@ -52,7 +51,7 @@ public:
|
| private:
|
| explicit OffscreenCanvas(const IntSize&);
|
|
|
| - using ContextFactoryVector = Vector<std::unique_ptr<CanvasRenderingContextFactory>>;
|
| + using ContextFactoryVector = Vector<OwnPtr<CanvasRenderingContextFactory>>;
|
| static ContextFactoryVector& renderingContextFactories();
|
| static CanvasRenderingContextFactory* getRenderingContextFactory(int);
|
|
|
|
|