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

Unified Diff: tests/ImageFilterTest.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/ImageFilterTest.cpp
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp
index 6a6a7a92d645ac56bcb6d3e702cbf4c5e89a237e..bb1d21a1101d87e5c1203944ea2f0ec4f9f903dc 100644
--- a/tests/ImageFilterTest.cpp
+++ b/tests/ImageFilterTest.cpp
@@ -348,7 +348,7 @@ static SkBitmap make_gradient_circle(int width, int height) {
SkPaint paint;
paint.setShader(shader);
canvas.drawCircle(x, y, radius, paint);
- return bitmap;
+ return skstd::move(bitmap);
}
static void test_negative_blur_sigma(SkImageFilter::Proxy* proxy, skiatest::Reporter* reporter) {

Powered by Google App Engine
This is Rietveld 408576698