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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.h

Issue 2724133003: [LayoutNG] Switch NGConstraintSpace to being RefCounted. (Closed)
Patch Set: moar. 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
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 #ifndef NGOutOfFlowLayoutPart_h 5 #ifndef NGOutOfFlowLayoutPart_h
6 #define NGOutOfFlowLayoutPart_h 6 #define NGOutOfFlowLayoutPart_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 9
10 #include "core/layout/ng/ng_absolute_utils.h" 10 #include "core/layout/ng/ng_absolute_utils.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 RefPtr<NGLayoutResult> GenerateFragment( 43 RefPtr<NGLayoutResult> GenerateFragment(
44 NGBlockNode& node, 44 NGBlockNode& node,
45 const Optional<LayoutUnit>& block_estimate, 45 const Optional<LayoutUnit>& block_estimate,
46 const NGAbsolutePhysicalPosition node_position); 46 const NGAbsolutePhysicalPosition node_position);
47 47
48 const ComputedStyle& container_style_; 48 const ComputedStyle& container_style_;
49 NGFragmentBuilder* container_builder_; 49 NGFragmentBuilder* container_builder_;
50 50
51 NGLogicalOffset container_border_offset_; 51 NGLogicalOffset container_border_offset_;
52 NGPhysicalOffset container_border_physical_offset_; 52 NGPhysicalOffset container_border_physical_offset_;
53 Member<NGConstraintSpace> container_space_; 53 RefPtr<NGConstraintSpace> container_space_;
54 }; 54 };
55 55
56 } // namespace blink 56 } // namespace blink
57 57
58 #endif 58 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698