mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Init the member vars to prevent access to uninitialized memory. Bug 203505,
r=bryner, sr=jst, a=sspitzer
This commit is contained in:
parent
bf85a3c0fa
commit
393cfebbf2
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user