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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h

Issue 2845493002: [LayoutNG] Fix empty inlines to influence the used line height (Closed)
Patch Set: Mark failure in a test in CSS2/normal-flow Created 3 years, 8 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/core/layout/ng/inline/ng_line_box_fragment_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h
index c1e0c89325c641b525dadf184b09b501aab12485..e7e16de1f46a6772a9efff5cbd1d4bb2dd12074b 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h
@@ -20,7 +20,7 @@ class CORE_EXPORT NGLineBoxFragmentBuilder final {
STACK_ALLOCATED();
public:
- NGLineBoxFragmentBuilder(NGInlineNode*, const NGLineHeightMetrics&);
+ explicit NGLineBoxFragmentBuilder(NGInlineNode*);
NGLineBoxFragmentBuilder& SetDirection(TextDirection);
@@ -35,7 +35,7 @@ class CORE_EXPORT NGLineBoxFragmentBuilder final {
return children_;
}
- void UniteMetrics(const NGLineHeightMetrics&);
+ void SetMetrics(const NGLineHeightMetrics&);
const NGLineHeightMetrics& Metrics() const { return metrics_; }
// Set the break token for the fragment to build.

Powered by Google App Engine
This is Rietveld 408576698