mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1586411 - Don't crash if AttachLayerManager fails. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D53760 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
99f1ccd668
commit
b3e87fb19a
@ -140,9 +140,7 @@ void BrowserBridgeParent::Destroy() {
|
||||
IPCResult BrowserBridgeParent::RecvShow(const ScreenIntSize& aSize,
|
||||
const bool& aParentIsActive,
|
||||
const nsSizeMode& aSizeMode) {
|
||||
if (!mBrowserParent->AttachLayerManager()) {
|
||||
MOZ_CRASH();
|
||||
}
|
||||
mBrowserParent->AttachLayerManager();
|
||||
Unused << mBrowserParent->SendShow(aSize, mBrowserParent->GetShowInfo(),
|
||||
aParentIsActive, aSizeMode);
|
||||
return IPC_OK();
|
||||
|
Loading…
x
Reference in New Issue
Block a user