| Index: third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.cpp
|
| index 82557fd256b0ee7a5c9c215f0f728d91cb41f306..49681b6edbef7b8000c81ddb46a569901be0dc1b 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.cpp
|
| @@ -40,7 +40,7 @@ inline bool characterStartsSurrogatePair(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]);
|
| }
|
|
|