diff options
author | Mike Reed <reed@google.com> | 2016-12-02 15:36:59 -0500 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2016-12-07 10:34:39 -0500 |
commit | 6e49c9f007c879f05b035c40c0ba543c00f9d0d0 (patch) | |
tree | 236bada9584af476e4989530fcc6154e589ae64a /libs/hwui/VectorDrawable.cpp | |
parent | 7bdd131a2458a833af31251b10a37d7ee2b646ed (diff) |
switch over clip calls to use SkClipOp instead of SkRegion::Op
Change-Id: I67d23c487b5249bc31d96e3b2393f693c0b2bcff
Diffstat (limited to 'libs/hwui/VectorDrawable.cpp')
-rw-r--r-- | libs/hwui/VectorDrawable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/VectorDrawable.cpp b/libs/hwui/VectorDrawable.cpp index f4ffa7a2aaca..208107f65743 100644 --- a/libs/hwui/VectorDrawable.cpp +++ b/libs/hwui/VectorDrawable.cpp @@ -308,7 +308,7 @@ void FullPath::FullPathProperties::setPropertyValue(int propertyId, float value) void ClipPath::drawPath(SkCanvas* outCanvas, SkPath& renderPath, float strokeScale, const SkMatrix& matrix, bool useStagingData){ - outCanvas->clipPath(renderPath, SkRegion::kIntersect_Op); + outCanvas->clipPath(renderPath); } Group::Group(const Group& group) : Node(group) { |