Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r235020 - Shrink size of WebCore::Event further by reordering m…
…embers https://bugs.webkit.org/show_bug.cgi?id=188734 Reviewed by Daniel Bates. Since WebCore::Event is ref-counted class, it has 4bytes m_refCount at the head of the class. So placing 4bytes just after that before placing 8bytes aligned member (like pointers in 64bit platforms) can save the size of WebCore::Event further. This patch reorders members of WebCore::Event to shrink the size from 80bytes to 72bytes. No behavior change. * dom/Event.cpp: (WebCore::Event::Event): * dom/Event.h:
- Loading branch information
1 parent
5cb0d8b
commit 74a35b7
Showing
3 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters