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

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

Issue 2714803002: [LayoutNG] Allow block-flow layout to be fragmented using new approach. (Closed)
Patch Set: rebase. Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_block_break_token.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h b/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
index 64fac59bc5acdd4d314f5cf1f16bc74d1426e29b..5e318233c0d0698202032d8b2384dc45d4131052 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
@@ -26,11 +26,7 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
HeapVector<Member<NGBreakToken>>& child_break_tokens);
// Creates a break token for a node which cannot produce any more fragments.
- explicit NGBlockBreakToken(NGBlockNode* node);
-
- // TODO(ikilpatrick): Remove this constructor and break_offset once we've
- // switched to new multi-col approach.
- NGBlockBreakToken(NGBlockNode* node, LayoutUnit break_offset);
+ explicit NGBlockBreakToken(NGLayoutInputNode* node);
// Represents the amount of block size used in previous fragments.
//
@@ -51,16 +47,12 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
return child_break_tokens_;
}
- // TODO(ikilpatrick): Remove this accessor.
- LayoutUnit BreakOffset() const { return break_offset_; }
-
DEFINE_INLINE_VIRTUAL_TRACE() {
NGBreakToken::trace(visitor);
visitor->trace(child_break_tokens_);
}
private:
- LayoutUnit break_offset_;
LayoutUnit used_block_size_;
HeapVector<Member<NGBreakToken>> child_break_tokens_;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_block_break_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698