提交 8a41aaac 编写于 作者: K Kan-Ru Chen

Bug 1269036 - Also destroy TabParent properly in case of mozbrowser. r=smaug, a=lizzard

MozReview-Commit-ID: Co0HL40b4q7

--HG--
extra : transplant_source : %5DG%FE%D3%D6%89%7Eo%8F%E2%85%0C%92%D4-T%BA%11%C5%1D
上级 18ff87e9
......@@ -2741,6 +2741,9 @@ TabParent::RecvBrowserFrameOpenWindow(PBrowserParent* aOpener,
this, aRenderFrame, aURL, aName, aFeatures,
aTextureFactoryIdentifier, aLayersId);
*aOutWindowOpened = (opened == BrowserElementParent::OPEN_WINDOW_ADDED);
if (!*aOutWindowOpened) {
Destroy();
}
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册