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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.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/shaping/HarfBuzzFace.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp
index 2f3a54aa2c7fb5c4d914de18798033e6d7cd128f..d1d0660d280103fb6f648ed8a445b03b5574e3b9 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp
@@ -335,7 +335,7 @@ static void deleteTypefaceStream(void* streamAssetPtr) {
hb_face_t* HarfBuzzFace::createFace() {
#if OS(MACOSX)
- hb_face_t* face = hb_coretext_face_create(m_platformData->cgFont());
+ hb_face_t* face = hb_coretext_face_create_from_ct_font(m_platformData->ctFont());
#else
hb_face_t* face = nullptr;
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp ('k') | third_party/harfbuzz-ng/src/hb-coretext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698