Index: tests/SerializationTest.cpp |
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp |
index 15b73827ae2780470940a565100f8fe6ecab9380..9bdfe1e0e622e9af6b20f026481af48b3ff8f321 100644 |
--- a/tests/SerializationTest.cpp |
+++ b/tests/SerializationTest.cpp |
@@ -248,7 +248,8 @@ static void TestBitmapSerialization(const SkBitmap& validBitmap, |
sk_sp<SkImageFilter> invalidBitmapSource(SkImageSource::Make(std::move(invalidImage))); |
sk_sp<SkImageFilter> xfermodeImageFilter( |
SkXfermodeImageFilter::Make(SkXfermode::Make(SkXfermode::kSrcOver_Mode), |
- invalidBitmapSource.get(), validBitmapSource.get(), nullptr)); |
+ std::move(invalidBitmapSource), |
+ std::move(validBitmapSource), nullptr)); |
SkAutoTUnref<SkImageFilter> deserializedFilter( |
TestFlattenableSerialization<SkImageFilter>( |