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 e7422f9693d164383434f12856c59148b45bcf69..771219507b7f2ebed8f314f7ed7f67cd9ab77a24 100644 |
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp |
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp |
@@ -99,7 +99,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) |