Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: tests/PDFInvalidBitmapTest.cpp

Issue 1514503004: SkBitmap move (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-12-10 (Thursday) 17:55:13 EST Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/PDFInvalidBitmapTest.cpp
diff --git a/tests/PDFInvalidBitmapTest.cpp b/tests/PDFInvalidBitmapTest.cpp
index 57e51f07c4fd1548644d6f22adc11dd2a78b3de7..ce99f5c27c932c7178e966594de83f52ea7508a8 100644
--- a/tests/PDFInvalidBitmapTest.cpp
+++ b/tests/PDFInvalidBitmapTest.cpp
@@ -33,7 +33,7 @@ SkBitmap make_invalid_bitmap(const SkImageInfo& imageInfo) {
SkBitmap bitmap;
bitmap.setInfo(imageInfo);
bitmap.setPixelRef(new InvalidPixelRef(imageInfo))->unref();
- return bitmap;
+ return skstd::move(bitmap);
}
SkBitmap make_invalid_bitmap(SkColorType colorType) {

Powered by Google App Engine
This is Rietveld 408576698