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

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

Issue 2750153003: Move NGLayoutOpportunityTreeNode off Oilpan (Closed)
Patch Set: Created 3 years, 9 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 | « third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h ('k') | no next file » | 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/ng_layout_opportunity_tree_node.h" 5 #include "core/layout/ng/ng_layout_opportunity_tree_node.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 NGLayoutOpportunityTreeNode::NGLayoutOpportunityTreeNode( 9 NGLayoutOpportunityTreeNode::NGLayoutOpportunityTreeNode(
10 const NGLogicalRect opportunity) 10 const NGLogicalRect opportunity)
(...skipping 10 matching lines...) Expand all
21 combined_exclusion(nullptr) {} 21 combined_exclusion(nullptr) {}
22 22
23 String NGLayoutOpportunityTreeNode::ToString() const { 23 String NGLayoutOpportunityTreeNode::ToString() const {
24 return String::format("Opportunity: '%s' Exclusion: '%s'", 24 return String::format("Opportunity: '%s' Exclusion: '%s'",
25 opportunity.ToString().ascii().data(), 25 opportunity.ToString().ascii().data(),
26 combined_exclusion 26 combined_exclusion
27 ? combined_exclusion->ToString().ascii().data() 27 ? combined_exclusion->ToString().ascii().data()
28 : "null"); 28 : "null");
29 } 29 }
30 30
31 DEFINE_TRACE(NGLayoutOpportunityTreeNode) {
32 visitor->trace(left);
33 visitor->trace(bottom);
34 visitor->trace(right);
35 }
36
37 } // namespace blink 31 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698