Chromium Code Reviews
DescriptionFix an uninitialized memory error reported by valgrind.
In order to make valgrind happy, this CL changes WebKeyboardEvent::isSystemKey and WebMouseWheelEvent::scrollByPage to int type to make sure the size of WebKeyboardEvent and WebMouseWheelEvent align to a factor of 4 bytes strictly.
BUG=22857
: Uninitialized memory sent via IPC from RenderWidgetHostViewGtkWidget::KeyPressReleaseEvent()
TEST=Run chrome with valgrind and input something or scroll the mouse wheel in a web page, valgrind should not complain uninitialized memory anymore.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27451
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||