diff options
author | Brian Salomon <bsalomon@google.com> | 2017-08-30 11:37:57 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-30 15:58:12 +0000 |
commit | f3b46e5193da843cac07d42fdc36c76c05f7fa77 (patch) | |
tree | a8ca8aef3e0f070606eaaa2d9c908db7ff436795 /src/pdf/SkPDFDevice.cpp | |
parent | f9810666bd40db8fb1650e6c727c1a83b8090136 (diff) |
Rename methods and enum on SkClipStack::Element to indicate "device space"
Change-Id: I83056843b530f76590f755f97e3d0a5a58f371fa
Reviewed-on: https://skia-review.googlesource.com/39402
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/pdf/SkPDFDevice.cpp')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 57a0f7df61..123ca4573e 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -301,12 +301,12 @@ static bool get_clip_stack_path(const SkMatrix& transform, iter.reset(clipStack, SkClipStack::Iter::kBottom_IterStart); for (clipEntry = iter.next(); clipEntry; clipEntry = iter.next()) { SkPath entryPath; - if (SkClipStack::Element::kEmpty_Type == clipEntry->getType()) { + if (SkClipStack::Element::DeviceSpaceType::kEmpty == clipEntry->getDeviceSpaceType()) { outClipPath->reset(); outClipPath->setFillType(SkPath::kInverseWinding_FillType); continue; } else { - clipEntry->asPath(&entryPath); + clipEntry->asDeviceSpacePath(&entryPath); } entryPath.transform(transform); if (!apply_clip(clipEntry->getOp(), *outClipPath, entryPath, outClipPath)) { |