| Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| index ddd9976cf30e1597d4a3d2e2f4a02865adfce20d..b10144a195422c117d117f691c8dd3a1c6ae0776 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
| @@ -9,7 +9,6 @@
|
| #include "core/html/canvas/CanvasRenderingContext.h"
|
| #include "core/html/canvas/CanvasRenderingContextFactory.h"
|
| #include "wtf/MathExtras.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -96,7 +95,7 @@ CanvasRenderingContextFactory* OffscreenCanvas::getRenderingContextFactory(int t
|
| return renderingContextFactories()[type].get();
|
| }
|
|
|
| -void OffscreenCanvas::registerRenderingContextFactory(std::unique_ptr<CanvasRenderingContextFactory> renderingContextFactory)
|
| +void OffscreenCanvas::registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory> renderingContextFactory)
|
| {
|
| CanvasRenderingContext::ContextType type = renderingContextFactory->getContextType();
|
| ASSERT(type < CanvasRenderingContext::ContextTypeCount);
|
|
|