mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 771833. Windows in mActiveWindows are all inner-windows. r=anant
This commit is contained in:
parent
f417d29a6c
commit
9fe85ed390
@ -113,7 +113,7 @@ public:
|
||||
nsCOMPtr<nsDOMMediaStream> stream = nsDOMMediaStream::CreateInputStream();
|
||||
|
||||
nsPIDOMWindow *window = static_cast<nsPIDOMWindow*>
|
||||
(nsGlobalWindow::GetOuterWindowWithId(mWindowID));
|
||||
(nsGlobalWindow::GetInnerWindowWithId(mWindowID));
|
||||
|
||||
if (window && window->GetExtantDoc()) {
|
||||
stream->CombineWithPrincipal(window->GetExtantDoc()->NodePrincipal());
|
||||
|
Loading…
Reference in New Issue
Block a user