tor-browser

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

commit 74d2ed567c99a76fd681046865d3ad2a8bb5ba94
parent 68d1b36f5c567fcd1ce61f6c539b775552cb9156
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; }