Loading
Bug 1766805 - Give the proper destination to GetSnapPointForDestination for...
Bug 1766805 - Give the proper destination to GetSnapPointForDestination for ScrollUnit::WHOLE on the main-thread. r=botond Now the proper destination is same as what we do for ScrollUnit::WHOLE [1]. With the proper points we no longer need special handlings in CalcSnapPoints::AddEdge for ScrollUnit::WHOLE. In my sense the special handling wasn't necessary though. [1] https://searchfox.org/mozilla-central/rev/dc09246dfbfd8dafeb6d55ebee18a6294d525443/gfx/layers/apz/src/AsyncPanZoomController.cpp#2105-2112 Differential Revision: https://phabricator.services.mozilla.com/D145190