aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTestUtils.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-01-13 11:02:42 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-13 16:50:25 +0000
commitf809c1ec98854b6d0e604744a1fc5f9a4ff493be (patch)
tree09967949730f4dce1e797aa5bc6748194bb18624 /src/gpu/GrTestUtils.cpp
parent5ac8260268618a992582253c4fc06bb5b0c57d61 (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.cpp2
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) {