WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227230
Shrink sizeof(RegisteredEventListener)
https://bugs.webkit.org/show_bug.cgi?id=227230
Summary
Shrink sizeof(RegisteredEventListener)
Yusuke Suzuki
Reported
2021-06-21 12:06:15 PDT
Shrink sizeof(RegisteredEventListener)
Attachments
Patch
(2.31 KB, patch)
2021-06-21 12:07 PDT
,
Yusuke Suzuki
ggaren
: review+
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(2.31 KB, patch)
2021-06-21 14:29 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2021-06-21 12:07:18 PDT
Created
attachment 431892
[details]
Patch
Chris Dumez
Comment 2
2021-06-21 12:11:20 PDT
Comment on
attachment 431892
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=431892&action=review
> Source/WebCore/dom/RegisteredEventListener.h:68 > + bool m_useCapture : 1;
do we really need the ": 1"?
Yusuke Suzuki
Comment 3
2021-06-21 12:18:10 PDT
Comment on
attachment 431892
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=431892&action=review
>> Source/WebCore/dom/RegisteredEventListener.h:68 >> + bool m_useCapture : 1; > > do we really need the ": 1"?
I prefer using bit fields for many bool flags since we can easily add more things while maintaining size.
Geoffrey Garen
Comment 4
2021-06-21 12:35:23 PDT
Comment on
attachment 431892
[details]
Patch r=me
Yusuke Suzuki
Comment 5
2021-06-21 14:29:05 PDT
Created
attachment 431910
[details]
Patch
Yusuke Suzuki
Comment 6
2021-06-22 08:31:15 PDT
Committed
r279117
(
239034@main
): <
https://commits.webkit.org/239034@main
>
Radar WebKit Bug Importer
Comment 7
2021-06-22 08:32:16 PDT
<
rdar://problem/79615813
>
Yusuke Suzuki
Comment 8
2021-06-25 16:22:52 PDT
Use this commit to test webkitbot. Please ignore following messages.
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