LongAndDragTrackingFilter: Unitialized member

CID 611005
This commit is contained in:
Philippe Saint-Pierre 2015-07-01 22:01:57 -04:00
parent 8d449661ca
commit 24b1f931b3

View File

@ -43,7 +43,8 @@ LongAndDragTrackingFilter::LongAndDragTrackingFilter(uint32 longMessageWhat,
fDragMessageWhat(dragMessageWhat),
fMessageRunner(NULL),
fClickButtons(0),
fSquaredRadiusThreshold(radiusThreshold * radiusThreshold)
fSquaredRadiusThreshold(radiusThreshold * radiusThreshold),
fDurationThreshold(durationThreshold)
{
if (durationThreshold == 0) {
get_click_speed(&fDurationThreshold);