mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +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()
|
||||
{
|
||||
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
|
||||
|
@ -174,7 +174,9 @@ IsTempLayerManager(LayerManager* aManager)
|
||||
|
||||
RenderFrameParent::RenderFrameParent(nsFrameLoader* aFrameLoader)
|
||||
: mFrameLoader(aFrameLoader)
|
||||
{}
|
||||
{
|
||||
NS_ABORT_IF_FALSE(aFrameLoader, "Need a frameloader here");
|
||||
}
|
||||
|
||||
RenderFrameParent::~RenderFrameParent()
|
||||
{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user