diff --git a/gfx/layers/apz/src/AsyncPanZoomController.cpp b/gfx/layers/apz/src/AsyncPanZoomController.cpp index f02849b79041..690ceeb91174 100644 --- a/gfx/layers/apz/src/AsyncPanZoomController.cpp +++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp @@ -679,7 +679,7 @@ AsyncPanZoomController::InitializeGlobalState() gVelocityCurveFunction = new ComputedTimingFunction(); gVelocityCurveFunction->Init( nsTimingFunction(gfxPrefs::APZCurveFunctionX1(), - gfxPrefs::APZCurveFunctionY2(), + gfxPrefs::APZCurveFunctionY1(), gfxPrefs::APZCurveFunctionX2(), gfxPrefs::APZCurveFunctionY2())); ClearOnShutdown(&gVelocityCurveFunction);