layout/base/ViewportUtils.cpp
0 → 100644
+50
−0
layout/base/ViewportUtils.h
0 → 100644
+36
−0
+2
−0
Loading
This function (and helper functions that wrap it) will be used extensively throughout layout code, so keeping it in APZCCallbackHelper seems awkward. nsLayoutUtils would also be a reasonable place but has the downside that adding a new function to it triggers recompiling the world. Differential Revision: https://phabricator.services.mozilla.com/D68296