Bug 833964 - Don't keep a dangling pointer to a task that is about to get deleted. r=drs

This commit is contained in:
Kartikaya Gupta 2013-04-18 15:43:17 -04:00
parent d9e7ac27e5
commit fa611df2be

View File

@ -1473,6 +1473,7 @@ void AsyncPanZoomController::SetState(PanZoomState aState) {
}
void AsyncPanZoomController::TimeoutTouchListeners() {
mTouchListenerTimeoutTask = nullptr;
ContentReceivedTouch(false);
}