| Summary: | Shrink sizeof(RegisteredEventListener) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||
| Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, esprehn+autocc, ews-watchlist, ggaren, kangil.han, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Yusuke Suzuki
2021-06-21 12:06:15 PDT
Created attachment 431892 [details]
Patch
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"? 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. Comment on attachment 431892 [details]
Patch
r=me
Created attachment 431910 [details]
Patch
Committed r279117 (239034@main): <https://commits.webkit.org/239034@main> Use this commit to test webkitbot. Please ignore following messages. |