| Index: third_party/WebKit/Source/platform/text/TextRun.h
|
| diff --git a/third_party/WebKit/Source/platform/text/TextRun.h b/third_party/WebKit/Source/platform/text/TextRun.h
|
| index bc0aef1cebd67f623386a6a823b1ee13560ba42f..65bf6dcbef05971a490883f71e49b5b888de0a48 100644
|
| --- a/third_party/WebKit/Source/platform/text/TextRun.h
|
| +++ b/third_party/WebKit/Source/platform/text/TextRun.h
|
| @@ -258,6 +258,11 @@ class PLATFORM_EXPORT TextRun final {
|
| return static_cast<TextJustify>(m_textJustify);
|
| }
|
|
|
| + // Up-converts to UTF-16 as needed and normalizes spaces and Unicode control
|
| + // characters as per the CSS Text Module Level 3 specification.
|
| + // https://drafts.csswg.org/css-text-3/#white-space-processing
|
| + std::unique_ptr<UChar[]> normalizedUTF16(unsigned* resultLength) const;
|
| +
|
| private:
|
| union {
|
| const LChar* characters8;
|
|
|