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

Unified Diff: src/effects/SkMatrixConvolutionImageFilter.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: src/effects/SkMatrixConvolutionImageFilter.cpp
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp
index a1f23f7a290b8b0837fd3ca1efc7f9e02a48cd1c..21e14dffa86814cb3243d1f968fad30ab1cc463d 100644
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp
@@ -261,7 +261,7 @@ static SkBitmap unpremultiplyBitmap(SkImageFilter::Proxy* proxy, const SkBitmap&
dstRow[x] = SkUnPreMultiply::PMColorToColor(srcRow[x]);
}
}
- return result;
+ return skstd::move(result);
}
bool SkMatrixConvolutionImageFilter::onFilterImage(Proxy* proxy,

Powered by Google App Engine
This is Rietveld 408576698