[Webkit-unassigned] [Bug 81570] Properly align members in WebInputEvent and subclasses to make Valgrind happy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 15:53:56 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=81570





--- Comment #4 from Tony Chang <tony at chromium.org>  2012-03-19 15:53:56 PST ---
(In reply to comment #3)
> Should we just use #pragma pack(push, 4) instead?

I'm dumb. Will pointed out that we would still need to reorder variables to make sure doubles come before ints.

Here's another idea from Will: Can we memset the struct before memcpy?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list