diff --git a/modules/skparagraph/include/ParagraphBuilder.h b/modules/skparagraph/include/ParagraphBuilder.h index 4aa82c90a0..95b758622d 100644 --- a/modules/skparagraph/include/ParagraphBuilder.h +++ b/modules/skparagraph/include/ParagraphBuilder.h @@ -39,12 +39,12 @@ public: virtual TextStyle peekStyle() = 0; - // Adds text to the builder. Forms the proper runs to use the upper-most style - // on the style_stack + // Adds UTF16-encoded text to the builder. Forms the proper runs to use the upper-most style + // on the style_stack. virtual void addText(const std::u16string& text) = 0; - // Adds text to the builder, using the top-most style on on the style_stack. - virtual void addText(const char* text) = 0; // Don't use this one - going away soon + // Adds UTF8-encoded text to the builder, using the top-most style on the style_stack. + virtual void addText(const char* text) = 0; virtual void addText(const char* text, size_t len) = 0; // Pushes the information required to leave an open space, where Flutter may