diff options
author | reed <reed@google.com> | 2016-03-29 11:32:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-29 11:32:50 -0700 |
commit | cfb6bdf767796c950f89985445738d2d8e7f12b0 (patch) | |
tree | 5b412fe9d767eef852f55316a99eb9776751ccaf /tests/BlendTest.cpp | |
parent | 3ebd2760dd34da6f5af23e9c7cb1b6a61e9cea9d (diff) |
switch xfermodes over to sk_sp
waiting on https://codereview.chromium.org/1835163002/
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1832223002
Review URL: https://codereview.chromium.org/1832223002
Diffstat (limited to 'tests/BlendTest.cpp')
-rw-r--r-- | tests/BlendTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BlendTest.cpp b/tests/BlendTest.cpp index 612492d271..ca9e46efd3 100644 --- a/tests/BlendTest.cpp +++ b/tests/BlendTest.cpp @@ -80,7 +80,7 @@ DEF_TEST(Blend_premul_begets_premul, r) { if (mode == SkXfermode::kSrcOver_Mode) { return; // TODO: can't create a SrcOver xfermode. } - SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode)); + auto xfermode(SkXfermode::Make(mode)); SkASSERT(xfermode); // We'll test all alphas and legal color values, assuming all colors work the same. // This is not true for non-separable blend modes, but this test still can't hurt. |