From 4be0e7cfe0efceeaf4c7a4d598d77c27cfd3e69b Mon Sep 17 00:00:00 2001 From: msarett Date: Thu, 22 Sep 2016 07:02:24 -0700 Subject: Make SkColorSpaceXform::New() take bare ptrs There's no need to take sk_sp if we're not going to ref the ptr. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2360863003 Review-Url: https://codereview.chromium.org/2360863003 --- tests/ColorSpaceXformTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ColorSpaceXformTest.cpp') diff --git a/tests/ColorSpaceXformTest.cpp b/tests/ColorSpaceXformTest.cpp index 2401af582b..156b2da020 100644 --- a/tests/ColorSpaceXformTest.cpp +++ b/tests/ColorSpaceXformTest.cpp @@ -22,7 +22,7 @@ public: nullptr, kNonStandard_SkGammaNamed, gammas, SkMatrix::I(), nullptr)); // Use special testing entry point, so we don't skip the xform, even though src == dst. - return SlowIdentityXform(space); + return SlowIdentityXform(space.get()); } }; -- cgit v1.2.3