зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1480244: Follow-up: Re-add kungFuDeathGrip for mTabChildMessageManager. r=bz
--HG-- extra : rebase_source : 8afd353f25b767272e54e6e6537e892b86f7e715
This commit is contained in:
Родитель
53915ba0cb
Коммит
1f29f16136
|
@ -233,10 +233,9 @@ TabChildBase::DispatchMessageManagerMessage(const nsAString& aMessageName,
|
|||
}
|
||||
}
|
||||
|
||||
// Let the BrowserElementScrolling helper (if it exists) for this
|
||||
// content manipulate the frame state.
|
||||
RefPtr<nsFrameMessageManager> mm = mTabChildMessageManager->GetMessageManager();
|
||||
mm->ReceiveMessage(static_cast<EventTarget*>(mTabChildMessageManager), nullptr,
|
||||
RefPtr<TabChildMessageManager> kungFuDeathGrip(mTabChildMessageManager);
|
||||
RefPtr<nsFrameMessageManager> mm = kungFuDeathGrip->GetMessageManager();
|
||||
mm->ReceiveMessage(static_cast<EventTarget*>(kungFuDeathGrip), nullptr,
|
||||
aMessageName, false, &data, nullptr, nullptr, nullptr,
|
||||
IgnoreErrors());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче