mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1081537 - Followup bustage fix. r=me
This commit is contained in:
parent
13d7de6673
commit
e6725f78a1
@ -137,7 +137,7 @@ GetEntryDocument()
|
||||
// If our entry global isn't a window, see if it's an addon scope associated
|
||||
// with a window. If it is, the caller almost certainly wants that rather
|
||||
// than null.
|
||||
if (!entryWin) {
|
||||
if (!entryWin && global) {
|
||||
entryWin = xpc::AddonWindowOrNull(global->GetGlobalJSObject());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user