Index: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.cpp |
index 4f17d0e0cc44f2b8df503d9eb5f284db45f5453b..4bd2a1fbfed48ce7e6ffa1ea85f2d8e66c91cf04 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.cpp |
@@ -18,8 +18,9 @@ PassRefPtr<const ShapeResult> CachingWordShapeIterator::shapeWordWithoutSpacing( |
unsigned wordLength = 0; |
std::unique_ptr<UChar[]> wordText = wordRun.normalizedUTF16(&wordLength); |
- HarfBuzzShaper shaper(wordText.get(), wordLength, wordRun.direction()); |
- RefPtr<const ShapeResult> shapeResult = shaper.shapeResult(font); |
+ HarfBuzzShaper shaper(wordText.get(), wordLength); |
+ RefPtr<const ShapeResult> shapeResult = |
+ shaper.shape(font, wordRun.direction()); |
if (!shapeResult) |
return nullptr; |