Bug 1865995 p5. Rename GetContentViewerSize to match nsIDocumentViewer's new name. r=emilio,geckoview-reviewers,owlish

Includes the methods on:
 - nsIDOMWindowUtils
 - nsLayoutUtils
 - MVMContext

Differential Revision: https://phabricator.services.mozilla.com/D194339
This commit is contained in:
Jonathan Watt
2023-11-23 21:35:20 +00:00
parent 50c81dd939
commit aa67eb0d46
14 changed files with 24 additions and 24 deletions

View File

@@ -11449,7 +11449,7 @@ bool PresShell::DetermineFontSizeInflationState() {
nsPresContext* topContext =
mPresContext->GetInProcessRootContentDocumentPresContext();
LayoutDeviceIntSize result;
if (!nsLayoutUtils::GetContentViewerSize(topContext, result)) {
if (!nsLayoutUtils::GetDocumentViewerSize(topContext, result)) {
return false;
}
displaySize = Some(result);