mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1244582: Add back in a null check that was accidentally removed. r=smaug
This commit is contained in:
parent
d26fa15b88
commit
0a4115365e
@ -2006,6 +2006,7 @@ EventStateManager::GetContentViewer(nsIContentViewer** aCv)
|
||||
|
||||
nsCOMPtr<mozIDOMWindowProxy> focusedWindow;
|
||||
fm->GetFocusedWindow(getter_AddRefs(focusedWindow));
|
||||
if (!focusedWindow) return NS_ERROR_FAILURE;
|
||||
|
||||
auto* ourWindow = nsPIDOMWindowOuter::From(focusedWindow);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user