Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index fcfe292566583c124fa8c19b9146fccb0b546a21..0e4b52473eb4f43a747c2dfc5f4eb3af4fdf2d2c 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -639,7 +639,7 @@ static SkBitmap wrap_texture(GrTexture* texture, int width, int height) { |
SkBitmap result; |
result.setInfo(SkImageInfo::MakeN32Premul(width, height)); |
result.setPixelRef(new SkGrPixelRef(result.info(), texture))->unref(); |
- return result; |
+ return skstd::move(result); |
} |
void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath, |