summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webinputevent_linux.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 19:44:46 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 19:44:46 +0000
commitdcc494e914525bba9d084e03db8508ae87dc3e76 (patch)
treea4d5ba0cc28a687446c89443fd0618e5b1469c78 /webkit/glue/webinputevent_linux.cc
parent52ceebc9c2190f71ccddf26739b63fef5ca0b2fd (diff)
downloadchromium_src-dcc494e914525bba9d084e03db8508ae87dc3e76.zip
chromium_src-dcc494e914525bba9d084e03db8508ae87dc3e76.tar.gz
chromium_src-dcc494e914525bba9d084e03db8508ae87dc3e76.tar.bz2
Fix two uninitialized memory accesses.
Review URL: http://codereview.chromium.org/12943 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webinputevent_linux.cc')
-rw-r--r--webkit/glue/webinputevent_linux.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webinputevent_linux.cc b/webkit/glue/webinputevent_linux.cc
index a88de6f..60659e3 100644
--- a/webkit/glue/webinputevent_linux.cc
+++ b/webkit/glue/webinputevent_linux.cc
@@ -51,6 +51,7 @@ WebMouseEvent::WebMouseEvent(const GdkEventButton* event) {
y = static_cast<int>(event->y);
global_x = static_cast<int>(event->x_root);
global_y = static_cast<int>(event->y_root);
+ layout_test_click_count = 0;
switch (event->type) {
case GDK_BUTTON_PRESS: