summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 22:52:15 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 22:52:15 +0000
commitea3f27123a65f8123c18332000db381019d64a6d (patch)
treec0efeaf230e9058c6f664e22abeae11069330950 /chrome/common
parentcf39f564da5c410388468c911b6cbe5c57a04c19 (diff)
downloadchromium_src-ea3f27123a65f8123c18332000db381019d64a6d.zip
chromium_src-ea3f27123a65f8123c18332000db381019d64a6d.tar.gz
chromium_src-ea3f27123a65f8123c18332000db381019d64a6d.tar.bz2
Coverity: Initialize the os_event struct members to 0 in the constructor.
CID=1642 BUG=none TEST=none Review URL: http://codereview.chromium.org/255013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/native_web_keyboard_event_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/native_web_keyboard_event_win.cc b/chrome/common/native_web_keyboard_event_win.cc
index 2fe23f1..b98f28b 100644
--- a/chrome/common/native_web_keyboard_event_win.cc
+++ b/chrome/common/native_web_keyboard_event_win.cc
@@ -10,6 +10,7 @@ using WebKit::WebInputEventFactory;
using WebKit::WebKeyboardEvent;
NativeWebKeyboardEvent::NativeWebKeyboardEvent() {
+ memset(&os_event, 0, sizeof(os_event));
}
NativeWebKeyboardEvent::NativeWebKeyboardEvent(