summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 09:24:36 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 09:24:36 +0000
commit1248a40e4f9cc4eddff9f9528503963981da86a5 (patch)
tree71840e080a84aaeb0e4c3ac3516afdb6baa3a491 /base
parent5d302f36ca480dc1fdd0633fa2c05965e837241a (diff)
downloadchromium_src-1248a40e4f9cc4eddff9f9528503963981da86a5.zip
chromium_src-1248a40e4f9cc4eddff9f9528503963981da86a5.tar.gz
chromium_src-1248a40e4f9cc4eddff9f9528503963981da86a5.tar.bz2
Initialize EventRecorder member.
BUG=None TEST=None CID=1647 Review URL: http://codereview.chromium.org/6469028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/event_recorder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/event_recorder.h b/base/event_recorder.h
index 04fbaa1..e4d8907 100644
--- a/base/event_recorder.h
+++ b/base/event_recorder.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -80,6 +80,9 @@ class EventRecorder {
#endif
playback_first_msg_time_(0),
playback_start_time_(0) {
+#if defined(OS_WIN)
+ memset(&playback_msg_, 0, sizeof(playback_msg_));
+#endif
}
~EventRecorder();