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

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

Issue 2623423003: [LayoutNG] Put #includes in alphabetical order. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/layout_ng_block_flow.h" 5 #include "core/layout/ng/layout_ng_block_flow.h"
6
7 #include "core/layout/LayoutAnalyzer.h"
6 #include "core/layout/ng/ng_constraint_space.h" 8 #include "core/layout/ng/ng_constraint_space.h"
7 #include "core/layout/LayoutAnalyzer.h"
8 #include "core/layout/ng/ng_fragment.h" 9 #include "core/layout/ng/ng_fragment.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
12 LayoutNGBlockFlow::LayoutNGBlockFlow(Element* element) 13 LayoutNGBlockFlow::LayoutNGBlockFlow(Element* element)
13 : LayoutBlockFlow(element) {} 14 : LayoutBlockFlow(element) {}
14 15
15 bool LayoutNGBlockFlow::isOfType(LayoutObjectType type) const { 16 bool LayoutNGBlockFlow::isOfType(LayoutObjectType type) const {
16 return type == LayoutObjectNGBlockFlow || LayoutBlockFlow::isOfType(type); 17 return type == LayoutObjectNGBlockFlow || LayoutBlockFlow::isOfType(type);
17 } 18 }
(...skipping 26 matching lines...) Expand all
44 computeLogicalHeight(logicalHeight(), logicalTop(), computedValues); 45 computeLogicalHeight(logicalHeight(), logicalTop(), computedValues);
45 setLogicalTop(computedValues.m_position); 46 setLogicalTop(computedValues.m_position);
46 } 47 }
47 48
48 for (auto& descendant : fragment->PhysicalFragment()->OutOfFlowDescendants()) 49 for (auto& descendant : fragment->PhysicalFragment()->OutOfFlowDescendants())
49 descendant->UseOldOutOfFlowPositioning(); 50 descendant->UseOldOutOfFlowPositioning();
50 clearNeedsLayout(); 51 clearNeedsLayout();
51 } 52 }
52 53
53 } // namespace blink 54 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698