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

Unified Diff: third_party/WebKit/Source/platform/fonts/TextBlob.h

Issue 2335703002: Use sk_sp-based text blob APIs (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/platform/fonts/TextBlob.h
diff --git a/third_party/WebKit/Source/platform/fonts/TextBlob.h b/third_party/WebKit/Source/platform/fonts/TextBlob.h
index 2ee78ab4410d1d94a2d46ce77cee13e92a693970..bddcf14a5ac40518a1370cdbf89242deb2cf20c0 100644
--- a/third_party/WebKit/Source/platform/fonts/TextBlob.h
+++ b/third_party/WebKit/Source/platform/fonts/TextBlob.h
@@ -11,9 +11,7 @@ namespace blink {
// Holds a (mutable) reference to an immutable SkTextBlob.
// Typedefs are used only to insulate core/ from Skia type names.
-// TODO(fmalita): Need to remove these typedefs - they are obsolete now.
-typedef sk_sp<const SkTextBlob> TextBlobPtr;
-typedef sk_sp<const SkTextBlob> PassTextBlobPtr;
+typedef sk_sp<SkTextBlob> TextBlobPtr;
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698