From d54052bccefe3bc4332a1636d348a10b197ad869 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 18 Aug 2025 17:22:22 +0800 Subject: Rename ToCFStringRef to ToCFString. --- src/platform/graphics/quartz/TextLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform/graphics/quartz/TextLayout.cpp') diff --git a/src/platform/graphics/quartz/TextLayout.cpp b/src/platform/graphics/quartz/TextLayout.cpp index 1be52c48..8c573c7a 100644 --- a/src/platform/graphics/quartz/TextLayout.cpp +++ b/src/platform/graphics/quartz/TextLayout.cpp @@ -72,7 +72,7 @@ void OsxCTTextLayout::DoSetText(String text) { } } - auto s = ToCFStringRef(actual_text_); + auto s = ToCFString(actual_text_); cf_attributed_text_ = CFAttributedStringCreateMutable(nullptr, 0); CFAttributedStringReplaceString(cf_attributed_text_, CFRangeMake(0, 0), s.ref); Ensures(cf_attributed_text_); -- cgit v1.2.3