| Index: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
|
| index beef9f135bfa8b6808d8f158790e3162dd8d49ef..04d38a082bdbab31f04e79092e94c2e6d9db3cd5 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
|
| @@ -78,12 +78,12 @@ static inline float shapeResultsForRun(ShapeCache* shapeCache, const Font* font,
|
| return totalWidth;
|
| }
|
|
|
| -int CachingWordShaper::offsetForPosition(const Font* font, const TextRun& run, float targetX)
|
| +int CachingWordShaper::offsetForPosition(const Font* font, const TextRun& run, float targetX, bool includePartialGlyphs)
|
| {
|
| ShapeResultBuffer buffer;
|
| shapeResultsForRun(m_shapeCache, font, run, nullptr, &buffer);
|
|
|
| - return buffer.offsetForPosition(run, targetX);
|
| + return buffer.offsetForPosition(run, targetX, includePartialGlyphs);
|
| }
|
|
|
| float CachingWordShaper::fillGlyphBuffer(const Font* font, const TextRun& run,
|
|
|