DescriptionStore binary flags in bool instead of int in WebInputEvent
Avoiding unnecessary size increase and improve readability by using the more
appropriate type. The comments in the code justifying the use of int type are
incorrect. In particular, these types are always initialized via the ctor that
does a memset on the sizeof, so padding DOES get initialized and shouldn't be
reported by valgrind as uninitialized memory.
BUG=435608
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186343
Patch Set 1 #Patch Set 2 : Include remaining bools #
Messages
Total messages: 16 (7 generated)
|