Index: gm/all_bitmap_configs.cpp |
diff --git a/gm/all_bitmap_configs.cpp b/gm/all_bitmap_configs.cpp |
index 46c5d5eed5a432b6e1319564bfed9029dec067a8..ccee8835a6524646cf66ce77065d2546b66a0ff0 100644 |
--- a/gm/all_bitmap_configs.cpp |
+++ b/gm/all_bitmap_configs.cpp |
@@ -17,7 +17,7 @@ static SkBitmap copy_bitmap(const SkBitmap& src, SkColorType colorType) { |
SkBitmap copy; |
src.copyTo(©, colorType); |
copy.setImmutable(); |
- return copy; |
+ return skstd::move(copy); |
} |
#define SCALE 128 |
@@ -47,7 +47,7 @@ static SkBitmap make_bitmap(SkColorType ct) { |
memcpy(bm.getAddr8(0, y), &spectrum[y], 128); |
} |
bm.setImmutable(); |
- return bm; |
+ return skstd::move(bm); |
} |
static void draw_center_letter(char c, |
@@ -137,7 +137,7 @@ static SkBitmap indexed_bitmap() { |
*bm.getAddr8(x, y) = SkClampMax(idx, SK_ARRAY_COUNT(pmColors) - 1); |
} |
} |
- return bm; |
+ return skstd::move(bm); |
} |
static void draw(SkCanvas* canvas, |