Bug 1348322 - Fix the initial values of gVelocityCurveFunction.
MozReview-Commit-ID: LDWCeRC4JBH
--- a/gfx/layers/apz/src/AsyncPanZoomController.cpp
+++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp
@@ -674,17 +674,17 @@ AsyncPanZoomController::InitializeGlobal
gZoomAnimationFunction = new ComputedTimingFunction();
gZoomAnimationFunction->Init(
nsTimingFunction(NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE));
ClearOnShutdown(&gZoomAnimationFunction);
gVelocityCurveFunction = new ComputedTimingFunction();
gVelocityCurveFunction->Init(
nsTimingFunction(gfxPrefs::APZCurveFunctionX1(),
- gfxPrefs::APZCurveFunctionY2(),
+ gfxPrefs::APZCurveFunctionY1(),
gfxPrefs::APZCurveFunctionX2(),
gfxPrefs::APZCurveFunctionY2()));
ClearOnShutdown(&gVelocityCurveFunction);
uint64_t sysmem = PR_GetPhysicalMemorySize();
uint64_t threshold = 1LL << 32; // 4 GB in bytes
gIsHighMemSystem = sysmem >= threshold;
}