Bug 1304729 - Followup to fix careless mistake. r?botond
MozReview-Commit-ID: 5gsVh4JgroW
--- a/gfx/layers/apz/src/AsyncPanZoomController.cpp
+++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp
@@ -1435,17 +1435,17 @@ nsEventStatus AsyncPanZoomController::On
{
ReentrantMonitorAutoEnter lock(mMonitor);
ScheduleComposite();
RequestContentRepaint();
UpdateSharedCompositorFrameMetrics();
}
// Non-negative focus point would indicate that one finger is still down
- if (aEvent.mFocusPoint.x != -1 && aEvent.mFocusPoint.y != -1) {
+ if (aEvent.mLocalFocusPoint.x != -1 && aEvent.mLocalFocusPoint.y != -1) {
mPanDirRestricted = false;
mX.StartTouch(aEvent.mLocalFocusPoint.x, aEvent.mTime);
mY.StartTouch(aEvent.mLocalFocusPoint.y, aEvent.mTime);
SetState(TOUCHING);
} else {
// Otherwise, handle the fingers being lifted.
ReentrantMonitorAutoEnter lock(mMonitor);