diff options
author | fmalita <fmalita@chromium.org> | 2016-09-13 10:00:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-13 10:00:23 -0700 |
commit | 37283c28aa5bea2204c18956e74f83b238d7a891 (patch) | |
tree | 6ac125088f1df0c6d9380e323e873c72c8416b0b /include/utils | |
parent | ec44099979acd3e83ad93a15dbd9301856a90572 (diff) |
Use sk_sp text blob APIs
SkTextBlobBuilder::build() -> make()
SkAutoTUnref<const SkTextBlob> -> sk_sp<SkTextBlob>
drawTextBlob(const SkTextBlob*) -> drawTextBlob(const sk_sp<SkTextBlob>&)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2335493005
Review-Url: https://codereview.chromium.org/2335493005
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/SkTextBox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/SkTextBox.h b/include/utils/SkTextBox.h index d4372d1b6a..90903b558d 100644 --- a/include/utils/SkTextBox.h +++ b/include/utils/SkTextBox.h @@ -60,7 +60,7 @@ public: int countLines() const; SkScalar getTextHeight() const; - SkTextBlob* snapshotTextBlob(SkScalar* computedBottom) const; + sk_sp<SkTextBlob> snapshotTextBlob(SkScalar* computedBottom) const; class Visitor { public: |