Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
This commit is contained in:
@@ -389,7 +389,7 @@ FocusManager::FocusedDOMNode() const
|
||||
}
|
||||
|
||||
// Otherwise the focus can be on DOM document.
|
||||
nsPIDOMWindow* focusedWnd = DOMFocusManager->GetFocusedWindow();
|
||||
nsPIDOMWindowOuter* focusedWnd = DOMFocusManager->GetFocusedWindow();
|
||||
return focusedWnd ? focusedWnd->GetExtantDoc() : nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user