| Index: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| index a8623c6063f09a4aa66ddbef068ad9deda1373fd..15ddda57b7ef88eaea326b3b65d27c09e2949b9e 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
|
| @@ -65,9 +65,15 @@ TEST_F(CachingWordShaperTest, LatinLeftToRightByWord)
|
| ASSERT_TRUE(iterator.next(&result));
|
| ASSERT_TRUE(testInfo(result)->runInfoForTesting(0, startIndex, numGlyphs, script));
|
| EXPECT_EQ(0u, startIndex);
|
| - EXPECT_EQ(4u, numGlyphs);
|
| + EXPECT_EQ(3u, numGlyphs);
|
| EXPECT_EQ(HB_SCRIPT_LATIN, script);
|
|
|
| + ASSERT_TRUE(iterator.next(&result));
|
| + ASSERT_TRUE(testInfo(result)->runInfoForTesting(0, startIndex, numGlyphs, script));
|
| + EXPECT_EQ(0u, startIndex);
|
| + EXPECT_EQ(1u, numGlyphs);
|
| + EXPECT_EQ(HB_SCRIPT_COMMON, script);
|
| +
|
| ASSERT_FALSE(iterator.next(&result));
|
| }
|
|
|
| @@ -82,7 +88,14 @@ TEST_F(CachingWordShaperTest, CommonAccentLeftToRightByWord)
|
| ASSERT_TRUE(iterator.next(&result));
|
| ASSERT_TRUE(testInfo(result)->runInfoForTesting(0, startIndex, numGlyphs, script));
|
| EXPECT_EQ(0u, offset + startIndex);
|
| - EXPECT_EQ(3u, numGlyphs);
|
| + EXPECT_EQ(2u, numGlyphs);
|
| + EXPECT_EQ(HB_SCRIPT_COMMON, script);
|
| + offset += result->numCharacters();
|
| +
|
| + ASSERT_TRUE(iterator.next(&result));
|
| + ASSERT_TRUE(testInfo(result)->runInfoForTesting(0, startIndex, numGlyphs, script));
|
| + EXPECT_EQ(2u, offset + startIndex);
|
| + EXPECT_EQ(1u, numGlyphs);
|
| EXPECT_EQ(HB_SCRIPT_COMMON, script);
|
| offset += result->numCharacters();
|
|
|
|
|