aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleAll.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-02-25 22:34:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-26 18:36:11 +0000
commita07741a75aa694c0e7c00c2301c9de2daf9b5f9e (patch)
tree88b0e9edea463244040c89a91587c9db57165c73 /samplecode/SampleAll.cpp
parenteb090ef4569dcd73dfd49e64ca2f4f733fbf27bc (diff)
begin to hide details of SkPathEffect
BUG=skia: Change-Id: I155d2370ae894e6000b6a768d02cf06bf5b3de6e Reviewed-on: https://skia-review.googlesource.com/8977 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'samplecode/SampleAll.cpp')
-rw-r--r--samplecode/SampleAll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp
index a098eb6c16..37a0c4b871 100644
--- a/samplecode/SampleAll.cpp
+++ b/samplecode/SampleAll.cpp
@@ -490,7 +490,7 @@ protected:
gPhase, SkPath1DPathEffect::kRotate_Style);
auto inner = SkDiscretePathEffect::Make(SkIntToScalar(2),
SkIntToScalar(1)/10); // SkCornerPathEffect(SkIntToScalar(2));
- return SkComposePathEffect::Make(outer, inner);
+ return SkPathEffect::MakeCompose(outer, inner);
}
sk_sp<SkShader> shaderTest() {