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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp

Issue 2544283003: Use upcoming CTFont hb_face constructor (Closed)
Patch Set: Use upcoming CTFont hb_face constructor Created 4 years 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/FontPlatformData.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
index a94d5de64699bb0851975e4a27b41d45b3eee5f2..8d5a3e2d23480db20ebdf5ff9c9b5c379b78f352 100644
--- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
@@ -179,10 +179,6 @@ FontPlatformData::~FontPlatformData() {}
CTFontRef FontPlatformData::ctFont() const {
return SkTypeface_GetCTFontRef(m_typeface.get());
};
-
-CGFontRef FontPlatformData::cgFont() const {
- return CTFontCopyGraphicsFont(ctFont(), 0);
-}
#endif
const FontPlatformData& FontPlatformData::operator=(

Powered by Google App Engine
This is Rietveld 408576698