tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit d034cec7a47fc8676422d69de34055267a45faf2
parent 0d3006309def9cbdf3a347da19b0b4eefffa2b52
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date:   Tue, 11 Nov 2025 22:21:27 +0900

Bug 1994942 - Fix typo when window.print()-ing a page with an iframe.

Diffstat:
Mlayout/printing/nsPrintJob.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/layout/printing/nsPrintJob.cpp b/layout/printing/nsPrintJob.cpp @@ -721,8 +721,8 @@ nsresult nsPrintJob::ReconstructAndReflow() { if (po->mParent) { nsSize adjSize; bool doReturn = false; - nsresult rv = - SetRootView(po, /* aDocumentIsTopLevel = */ false, doReturn, adjSize); + documentIsTopLevel = false; + nsresult rv = SetRootView(po, documentIsTopLevel, doReturn, adjSize); if (NS_FAILED(rv) || doReturn) { return rv; }