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

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

Issue 2797053002: Remove redundant casts, use NGLayoutInputNode base functions everywhere (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator_test.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 694a1809fab2602b8fe413311a5a776e311c66fc..6208c69d05c50030dd91b0e515383473bafac328 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
@@ -70,8 +70,8 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
DEFINE_TYPE_CASTS(NGBlockBreakToken,
NGBreakToken,
token,
- token->Type() == NGBreakToken::kBlockBreakToken,
- token.Type() == NGBreakToken::kBlockBreakToken);
+ token->IsBlockType(),
+ token.IsBlockType());
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698