Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1984)

Unified Diff: Source/platform/fonts/shaping/CachingWordShaperTest.cpp

Issue 1239513004: Change fallback font collection in HarfBuzzShaper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Kill _ALL_ the new lines Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/fonts/shaping/CachingWordShaper.cpp ('k') | Source/platform/fonts/shaping/HarfBuzzShaper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/shaping/CachingWordShaperTest.cpp
diff --git a/Source/platform/fonts/shaping/CachingWordShaperTest.cpp b/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
index 6285d799cfe8d21c99d1248010b5d5d32e5e9608..3f2ca52ab0826537b92e829355d437db4878c8e2 100644
--- a/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
+++ b/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
@@ -47,7 +47,7 @@ TEST_F(CachingWordShaperTest, LatinLeftToRightByWord)
TextRun textRun(reinterpret_cast<const LChar*>("ABC DEF."), 8);
RefPtr<ShapeResult> result;
- CachingWordShapeIterator iterator(cache, textRun, font, fallbackFonts);
+ CachingWordShapeIterator iterator(cache, textRun, font);
ASSERT_TRUE(iterator.next(&result));
ASSERT_TRUE(result->runInfoForTesting(0, startIndex, numGlyphs, script));
EXPECT_EQ(0u, startIndex);
@@ -76,7 +76,7 @@ TEST_F(CachingWordShaperTest, CommonAccentLeftToRightByWord)
unsigned offset = 0;
RefPtr<ShapeResult> result;
- CachingWordShapeIterator iterator(cache, textRun, font, fallbackFonts);
+ CachingWordShapeIterator iterator(cache, textRun, font);
ASSERT_TRUE(iterator.next(&result));
ASSERT_TRUE(result->runInfoForTesting(0, startIndex, numGlyphs, script));
EXPECT_EQ(0u, offset + startIndex);
« no previous file with comments | « Source/platform/fonts/shaping/CachingWordShaper.cpp ('k') | Source/platform/fonts/shaping/HarfBuzzShaper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698