aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ColorSpaceXformTest.cpp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-09-22 07:02:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-22 07:02:24 -0700
commit4be0e7cfe0efceeaf4c7a4d598d77c27cfd3e69b (patch)
tree0d47793cb5bbe8142570595d0cba13bb70382061 /tests/ColorSpaceXformTest.cpp
parent90939aa22f621ac2d47a601402391a2fde7ba323 (diff)
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
Diffstat (limited to 'tests/ColorSpaceXformTest.cpp')
-rw-r--r--tests/ColorSpaceXformTest.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}
};