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; |