mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 763111 - Use gBrowser.docShell for brevity in bug 748477. r=dao
This commit is contained in:
parent
f8b31e4c4e
commit
ac4a2071ec
@ -7170,9 +7170,8 @@ let gPrivateBrowsingUI = {
|
||||
* and the setter should only be used in tests.
|
||||
*/
|
||||
get privateWindow() {
|
||||
return gBrowser.selectedTab.linkedBrowser
|
||||
.docShell.QueryInterface(Ci.nsILoadContext)
|
||||
.usePrivateBrowsing;
|
||||
return gBrowser.docShell.QueryInterface(Ci.nsILoadContext)
|
||||
.usePrivateBrowsing;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user