Browse files

Stricter ivar initialization

  • Loading branch information...
1 parent a084870 commit 6f4cf75075338039af872052df178a8c41cca1d4 Michelangelo De Simone committed Feb 6, 2012
Showing with 5 additions and 0 deletions.
  1. +2 −0 KineticScroller.cpp
  2. +3 −0 NPObjectEvent.cpp
View
2 KineticScroller.cpp
@@ -112,6 +112,8 @@ KineticScroller::KineticScroller(GMainContext* glibCtxt)
, m_px(0)
, m_ux(0)
, m_scrollLock(ScrollLockInvalid)
+ , m_recordedMouseX(0)
+ , m_recordedMouseY(0)
{
}
View
3 NPObjectEvent.cpp
@@ -149,6 +149,9 @@ bool NPObjectEvent::PrvObjConstruct(NPObject *obj, const NPVariant *args,
}
NPObjectEvent::NPObjectEvent(BrowserAdapter *adapter)
+ : m_pageX(0)
+ , m_pageY(0)
+ , m_modifiers(0)
{
//TRACEF("Entered %s", __FUNCTION__);
if (!sPropertyIdsInitialized) {

0 comments on commit 6f4cf75

Please sign in to comment.