|
Make NGFragment to own NGPhysicalFragment
Remove Oilpan from NGPhysicalFragment and make NGFragment to own it through unique_ptr.
This will fix the issue with limited number(it's about ~150 today) of supported physical
fragment children in LayoutNG code.
The problem can be reproduced by creating a tree with depth > 150 and running it through LayoutNG code.
Oilpan will crash with visitor->heap().stackFrameDepth().isAcceptableStackUse() once kSafeStackFrameSize > 32 * 1024 while trying to trace a vector
BUG= 635619
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+135 lines, -169 lines) |
Patch |
|
M |
third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
View
|
|
4 chunks |
+12 lines, -12 lines |
1 comment
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
View
|
|
13 chunks |
+23 lines, -14 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_box.h
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_box.cc
|
View
|
|
4 chunks |
+17 lines, -18 lines |
1 comment
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
|
View
|
|
4 chunks |
+7 lines, -5 lines |
1 comment
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
|
View
|
|
5 chunks |
+31 lines, -31 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_constraint_space_test.cc
|
View
|
|
4 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_base.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_layout_input_text.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h
|
View
|
|
1 chunk |
+3 lines, -5 lines |
1 comment
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
|
View
|
|
1 chunk |
+3 lines, -8 lines |
1 comment
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.cc
|
View
|
|
1 chunk |
+1 line, -10 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 16 (12 generated)
|