diff options
author | Robert Phillips <robertphillips@google.com> | 2017-01-13 11:02:42 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-13 16:50:25 +0000 |
commit | f809c1ec98854b6d0e604744a1fc5f9a4ff493be (patch) | |
tree | 09967949730f4dce1e797aa5bc6748194bb18624 /src/gpu/GrTestUtils.cpp | |
parent | 5ac8260268618a992582253c4fc06bb5b0c57d61 (diff) |
Try out new refFoo pattern on GrStyle
Change-Id: Ic7f30e3730a3431adf365d729320fe50f38dcea8
Reviewed-on: https://skia-review.googlesource.com/6907
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrTestUtils.cpp')
-rw-r--r-- | src/gpu/GrTestUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTestUtils.cpp b/src/gpu/GrTestUtils.cpp index 7a3ef59618..c9cccb8f93 100644 --- a/src/gpu/GrTestUtils.cpp +++ b/src/gpu/GrTestUtils.cpp @@ -263,7 +263,7 @@ void TestStyle(SkRandom* random, GrStyle* style) { SkScalar phase = random->nextRangeScalar(0, sum); pe = TestDashPathEffect::Make(intervals.get(), cnt, phase); } - *style = GrStyle(stroke, pe.get()); + *style = GrStyle(stroke, std::move(pe)); } TestDashPathEffect::TestDashPathEffect(const SkScalar* intervals, int count, SkScalar phase) { |