diff --git a/layout/base/nsLayoutHistoryState.cpp b/layout/base/nsLayoutHistoryState.cpp index 079698885515..fdf39f1246f3 100644 --- a/layout/base/nsLayoutHistoryState.cpp +++ b/layout/base/nsLayoutHistoryState.cpp @@ -163,13 +163,13 @@ namespace mozilla { UniquePtr NewPresState() { return MakeUnique( /* contentData */ mozilla::void_t(), - /* scrollState */ nsPoint(0, 0), - /* allowScrollOriginDowngrade */ true, + /* scrollState */ nsPoint(), + /* scrollEventGeneration */ 0, + /* scrollEndEventGeneration */ 0, /* resolution */ 1.0, + /* allowScrollOriginDowngrade */ true, /* disabledSet */ false, /* disabled */ false, - /* droppedDown */ false, - /* scrollEventGeneration */ 0, - /* scrollEndEventGeneration */ 0); + /* droppedDown */ false); } } // namespace mozilla