Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1059)

Unified Diff: include/utils/SkTextBox.h

Issue 2335493005: Use sk_sp text blob APIs (Closed)
Patch Set: SK_SUPPORT_LEGACY_TEXTBLOB_BUILDER Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkTextBlob.h ('k') | public.bzl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/utils/SkTextBox.h
diff --git a/include/utils/SkTextBox.h b/include/utils/SkTextBox.h
index d4372d1b6ab8f0d07fdb5991f9fc840774413385..90903b558d5f70e6b8697b9b33a6cd8c1abc76ec 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:
« no previous file with comments | « include/core/SkTextBlob.h ('k') | public.bzl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698