mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 603680: Paper over lack of IPDL |discard| (and possible weirdly short-lived <browser>s). r=bsmedberg a=blocking-fennec
This commit is contained in:
parent
a8743f8dcc
commit
0355845713
@ -694,7 +694,8 @@ PRenderFrameParent*
|
|||||||
TabParent::AllocPRenderFrame()
|
TabParent::AllocPRenderFrame()
|
||||||
{
|
{
|
||||||
nsRefPtr<nsFrameLoader> frameLoader = GetFrameLoader();
|
nsRefPtr<nsFrameLoader> frameLoader = GetFrameLoader();
|
||||||
return new RenderFrameParent(frameLoader);
|
NS_WARN_IF_FALSE(frameLoader, "'message sent to unknown actor ID' coming up");
|
||||||
|
return frameLoader ? new RenderFrameParent(frameLoader) : nsnull;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -174,7 +174,9 @@ IsTempLayerManager(LayerManager* aManager)
|
|||||||
|
|
||||||
RenderFrameParent::RenderFrameParent(nsFrameLoader* aFrameLoader)
|
RenderFrameParent::RenderFrameParent(nsFrameLoader* aFrameLoader)
|
||||||
: mFrameLoader(aFrameLoader)
|
: mFrameLoader(aFrameLoader)
|
||||||
{}
|
{
|
||||||
|
NS_ABORT_IF_FALSE(aFrameLoader, "Need a frameloader here");
|
||||||
|
}
|
||||||
|
|
||||||
RenderFrameParent::~RenderFrameParent()
|
RenderFrameParent::~RenderFrameParent()
|
||||||
{}
|
{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user