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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node.cc

Issue 2725773002: Remove NGBlockNode constructor, SetFirstChild, SetNextSibling methods (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
index 6764cb163b7e3b59a707f74d1b8b9c87852112a5..187e5cd428af03bb840afae6028e4b5706f89168 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
@@ -75,13 +75,6 @@ NGBlockNode::NGBlockNode(LayoutObject* layout_object)
DCHECK(layout_box_);
}
-NGBlockNode::NGBlockNode(ComputedStyle* style)
- : NGLayoutInputNode(NGLayoutInputNodeType::kLegacyBlock),
- layout_box_(nullptr),
- style_(style) {
- DCHECK(style_);
-}
-
// Need an explicit destructor in the .cc file, or the MSWIN compiler will
// produce an error when attempting to generate a default one, if the .h file is
// included from a compilation unit that lacks the ComputedStyle definition.

Powered by Google App Engine
This is Rietveld 408576698