Bug 1769161 Part 1 - Refactor scaling factor due to page-size for nsPageFrame to...
commitc381f19b0ef640724ed52939cd4d1fc16d6487f8
authorEmily McDonough <emcdonough@mozilla.com>
Fri, 10 Jun 2022 19:37:22 +0000 (10 19:37 +0000)
committerEmily McDonough <emcdonough@mozilla.com>
Fri, 10 Jun 2022 19:37:22 +0000 (10 19:37 +0000)
treea3bec638e94cfb42229006c9677bf797815f0d32
parentca262b23cedd2b77e29f6a546570503a5772cdf0
Bug 1769161 Part 1 - Refactor scaling factor due to page-size for nsPageFrame to be in its own function. r=dholbert

This includes two versions of the function, one which takes an already-computed
page size to avoid computing this multiple times for a caller, and the other
which computes this value itself for convenience.

Differential Revision: https://phabricator.services.mozilla.com/D146601
layout/generic/nsPageFrame.cpp
layout/generic/nsPageFrame.h