mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1245310 - Restore null check in GetFocusedNode(). r=khuey
This commit is contained in:
parent
bf88b025d9
commit
415a8ffdf1
@ -125,7 +125,7 @@ nsIContent*
|
||||
nsPIDOMWindow<T>::GetFocusedNode() const
|
||||
{
|
||||
if (IsOuterWindow()) {
|
||||
return mInnerWindow->GetFocusedNode();
|
||||
return mInnerWindow ? mInnerWindow->GetFocusedNode() : nullptr;
|
||||
}
|
||||
|
||||
return mFocusedNode;
|
||||
|
Loading…
Reference in New Issue
Block a user