Init the member vars to prevent access to uninitialized memory. Bug 203505,

r=bryner, sr=jst, a=sspitzer
This commit is contained in:
bzbarsky%mit.edu 2003-05-01 01:01:03 +00:00
parent bf85a3c0fa
commit 393cfebbf2

View File

@ -142,6 +142,8 @@ struct nsEvent {
nsEvent()
: eventStructType(NS_EVENT),
message(NS_EVENT_TYPE_NULL),
point(0, 0),
refPoint(0, 0),
time(0),
flags(NS_EVENT_FLAG_NONE),
internalAppFlags(NS_APP_EVENT_FLAG_NONE),