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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreakerTest.cpp

Issue 2879093002: [LayoutNG] Fix ShapingLineBreaker when the end of range is needed (Closed)
Patch Set: Rebase Created 3 years, 6 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
Index: third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreakerTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreakerTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreakerTest.cpp
index b70b4ed9a240085812c2393aba213b65a764e181..c7bc6391d998542f761813dba3b536ca730f4597 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreakerTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreakerTest.cpp
@@ -243,7 +243,7 @@ TEST_F(ShapingLineBreakerTest, ShapeLineRangeEndMidWord) {
unsigned break_offset = 0;
line = breaker.ShapeLine(0, LayoutUnit::Max(), &break_offset);
- EXPECT_EQ(3u, break_offset);
+ EXPECT_EQ(2u, break_offset);
EXPECT_EQ(result->Width(), line->Width());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698