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

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

Issue 2651853002: Deprecate the currently used NGMarginStrut in favor of the new one. (Closed)
Patch Set: git rebase-update Created 3 years, 11 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/ng_fragment_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
index f9b65cdff5e974b6ae34bb5e688c1bc59d98a3f5..29e39de2bb38a8f8e512e8f12e70f41cd9df37b1 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
@@ -93,8 +93,10 @@ class CORE_EXPORT NGFragmentBuilder final
bool HasBreakToken() const { return break_token_; }
// Sets MarginStrut for the resultant fragment.
- NGFragmentBuilder& SetMarginStrutBlockStart(const NGMarginStrut& from);
- NGFragmentBuilder& SetMarginStrutBlockEnd(const NGMarginStrut& from);
+ NGFragmentBuilder& SetMarginStrutBlockStart(
+ const NGDeprecatedMarginStrut& from);
+ NGFragmentBuilder& SetMarginStrutBlockEnd(
+ const NGDeprecatedMarginStrut& from);
// Offsets are not supposed to be set during fragment construction, so we
// do not provide a setter here.
@@ -138,7 +140,7 @@ class CORE_EXPORT NGFragmentBuilder final
NGLogicalSize size_;
NGLogicalSize overflow_;
- NGMarginStrut margin_strut_;
+ NGDeprecatedMarginStrut margin_strut_;
HeapVector<Member<NGPhysicalFragment>> children_;
Vector<NGLogicalOffset> offsets_;

Powered by Google App Engine
This is Rietveld 408576698