Index: src/device/xps/SkXPSDevice.cpp |
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp |
index 86c729c9e405cd516f062e69ac87da01e442ccc9..2dc84c5a6c1122c53b93b34a3d45dffd18ab5e2e 100644 |
--- a/src/device/xps/SkXPSDevice.cpp |
+++ b/src/device/xps/SkXPSDevice.cpp |
@@ -108,7 +108,7 @@ HRESULT SkXPSDevice::createId(wchar_t* buffer, size_t bufferSize, wchar_t sep) { |
static SkBitmap make_fake_bitmap(int width, int height) { |
SkBitmap bitmap; |
bitmap.setInfo(SkImageInfo::MakeUnknown(width, height)); |
- return bitmap; |
+ return skstd::move(bitmap); |
} |
// TODO: should inherit from SkBaseDevice instead of SkBitmapDevice... |