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

Unified Diff: tests/LayerDrawLooperTest.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/LayerDrawLooperTest.cpp
diff --git a/tests/LayerDrawLooperTest.cpp b/tests/LayerDrawLooperTest.cpp
index 391db7ce7f2606280b26a06612e9e1cbfbca6e01..6a5931d012adb86c4f8b61f8f45e3c996c4b2aef 100644
--- a/tests/LayerDrawLooperTest.cpp
+++ b/tests/LayerDrawLooperTest.cpp
@@ -22,7 +22,7 @@
static SkBitmap make_bm(int w, int h) {
SkBitmap bm;
bm.allocN32Pixels(w, h);
- return bm;
+ return skstd::move(bm);
}
// TODO: can this be derived from SkBaseDevice?

Powered by Google App Engine
This is Rietveld 408576698