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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreaker.h

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/ShapingLineBreaker.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreaker.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreaker.h
index 18938cb7c3377f2a067261ac7a09611381f806d6..75fecc1565993f54600cc8bbb06fd791a7e9b2df 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreaker.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapingLineBreaker.h
@@ -45,6 +45,9 @@ class PLATFORM_EXPORT ShapingLineBreaker final {
unsigned* break_offset);
private:
+ PassRefPtr<ShapeResult> ShapeToEnd(unsigned start,
+ LayoutUnit start_position,
+ unsigned range_end);
const HarfBuzzShaper* shaper_;
const Font* font_;

Powered by Google App Engine
This is Rietveld 408576698