Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
index 99ca5209e4bbbe0a7d81c64943e4479e2843133b..4e8a92b4db7f35c194fb626cc306b94c37dfe78a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
@@ -570,7 +570,7 @@ void ImageBuffer::setSurface(std::unique_ptr<ImageBufferSurface> surface) { |
// will fail at playback time. |
image = image->makeNonTextureImage(); |
} |
- surface->canvas()->drawImage(image.get(), 0, 0); |
+ surface->canvas()->drawImage(std::move(image), 0, 0); |
surface->setImageBuffer(this); |
if (m_client) |