diff options
author | Mike Reed <reed@google.com> | 2018-01-23 15:29:32 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-23 21:14:20 +0000 |
commit | 80747ef591ff3c09c2b610eb21258132d1ff4ef5 (patch) | |
tree | e7472d73f966f9400b0e52cb02ad9e8515de32c3 /src/core/SkPaint.cpp | |
parent | a7701e032bcc55a73360aa8d1b53ceef566de991 (diff) |
move the guts of SkMaskFilter.h into SkMaskFilterBase.h
Bug: skia:
Change-Id: I29ad0960156562867429542d3cfbf3d639529cab
Reviewed-on: https://skia-review.googlesource.com/98802
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/core/SkPaint.cpp')
-rw-r--r-- | src/core/SkPaint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index 3cfa690b1e..0686c3b017 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -1967,7 +1967,7 @@ const SkRect& SkPaint::doComputeFastBounds(const SkRect& origSrc, *storage = src->makeOutset(radius, radius); if (this->getMaskFilter()) { - this->getMaskFilter()->computeFastBounds(*storage, storage); + as_MFB(this->getMaskFilter())->computeFastBounds(*storage, storage); } if (this->getImageFilter()) { @@ -2034,7 +2034,7 @@ void SkPaint::toString(SkString* str) const { SkMaskFilter* maskFilter = this->getMaskFilter(); if (maskFilter) { str->append("<dt>MaskFilter:</dt><dd>"); - maskFilter->toString(str); + as_MFB(maskFilter)->toString(str); str->append("</dd>"); } |