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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc

Issue 2561553002: [LayoutNG] Remove unnecessary #includes (Closed)
Patch Set: Let's see if Windows is more happy now. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/layout/ng/ng_fragment_builder.h" 5 #include "core/layout/ng/ng_fragment_builder.h"
6
6 #include "core/layout/ng/ng_block_node.h" 7 #include "core/layout/ng/ng_block_node.h"
7 #include "core/style/ComputedStyle.h" 8 #include "core/layout/ng/ng_fragment_base.h"
9 #include "core/layout/ng/ng_physical_fragment.h"
8 10
9 namespace blink { 11 namespace blink {
10 12
11 NGFragmentBuilder::NGFragmentBuilder( 13 NGFragmentBuilder::NGFragmentBuilder(
12 NGPhysicalFragmentBase::NGFragmentType type) 14 NGPhysicalFragmentBase::NGFragmentType type)
13 : type_(type), writing_mode_(kHorizontalTopBottom), direction_(LTR) {} 15 : type_(type), writing_mode_(kHorizontalTopBottom), direction_(LTR) {}
14 16
15 NGFragmentBuilder& NGFragmentBuilder::SetWritingMode( 17 NGFragmentBuilder& NGFragmentBuilder::SetWritingMode(
16 NGWritingMode writing_mode) { 18 NGWritingMode writing_mode) {
17 writing_mode_ = writing_mode; 19 writing_mode_ = writing_mode;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 out_of_flow_descendants_, out_of_flow_positions_, margin_strut_); 148 out_of_flow_descendants_, out_of_flow_positions_, margin_strut_);
147 } 149 }
148 150
149 DEFINE_TRACE(NGFragmentBuilder) { 151 DEFINE_TRACE(NGFragmentBuilder) {
150 visitor->trace(children_); 152 visitor->trace(children_);
151 visitor->trace(out_of_flow_descendant_candidates_); 153 visitor->trace(out_of_flow_descendant_candidates_);
152 visitor->trace(out_of_flow_descendants_); 154 visitor->trace(out_of_flow_descendants_);
153 } 155 }
154 156
155 } // namespace blink 157 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698