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