Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
index fb03e762444b41671909d75ed18e42cd4c22826d..5c05772642645297c144ac83287cb1dfe9f4a22b 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
@@ -197,7 +197,7 @@ inline bool isValidSurrogatePair(const TextRun& run, unsigned index) |
{ |
if (!U16_IS_LEAD(run[index])) |
return false; |
- if (index + 1 >= static_cast<unsigned>(run.charactersLength())) |
+ if (index + 1 >= static_cast<unsigned>(run.length())) |
return false; |
return U16_IS_TRAIL(run[index + 1]); |
} |