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 aeb3b6dfd4a28e8d2ea848aa57f0f2f5e6c083fa..d694269671da05863c7f602d723b282f0b91e126 100644 |
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp |
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp |
@@ -87,7 +87,7 @@ void OffscreenCanvas::registerRenderingContextFactory(PassOwnPtr<CanvasRendering |
CanvasRenderingContext::ContextType type = renderingContextFactory->getContextType(); |
ASSERT(type < CanvasRenderingContext::ContextTypeCount); |
ASSERT(!renderingContextFactories()[type]); |
- renderingContextFactories()[type] = renderingContextFactory; |
+ renderingContextFactories()[type] = std::move(renderingContextFactory); |
} |
DEFINE_TRACE(OffscreenCanvas) |