WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 222704
[LFC][IFC] Make LineBox::m_inlineLevelBoxRectMap a non-root inline level box map
https://bugs.webkit.org/show_bug.cgi?id=222704
Summary
[LFC][IFC] Make LineBox::m_inlineLevelBoxRectMap a non-root inline level box map
zalan
Reported
2021-03-03 19:25:20 PST
root inline box does not need to go in there.
Attachments
Patch
(4.41 KB, patch)
2021-03-03 19:27 PST
,
zalan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2021-03-03 19:27:56 PST
Created
attachment 422174
[details]
Patch
Antti Koivisto
Comment 2
2021-03-03 21:21:03 PST
Comment on
attachment 422174
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=422174&action=review
> Source/WebCore/layout/inlineformatting/InlineLineBox.cpp:92 > - m_inlineLevelBoxRectMap.reserveInitialCapacity(numberOfRuns); > - m_inlineLevelBoxRectMap.set(&rootLayoutBox, &m_rootInlineBox); > + m_nonRootInlineLevelBoxMap.reserveInitialCapacity(numberOfRuns);
Does it need one less capacity now?
EWS
Comment 3
2021-03-04 06:22:51 PST
Committed
r273887
: <
https://commits.webkit.org/r273887
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 422174
[details]
.
Radar WebKit Bug Importer
Comment 4
2021-03-04 06:23:13 PST
<
rdar://problem/75033710
>
zalan
Comment 5
2021-03-04 06:25:01 PST
(In reply to Antti Koivisto from
comment #2
)
> Comment on
attachment 422174
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=422174&action=review
> > > Source/WebCore/layout/inlineformatting/InlineLineBox.cpp:92 > > - m_inlineLevelBoxRectMap.reserveInitialCapacity(numberOfRuns); > > - m_inlineLevelBoxRectMap.set(&rootLayoutBox, &m_rootInlineBox); > > + m_nonRootInlineLevelBoxMap.reserveInitialCapacity(numberOfRuns); > > Does it need one less capacity now?
yeah I was going to talk to you about it. we need a better approximation for this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug