mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 22:35:43 +00:00
166713, crash in [@ PluginViewerImpl::StartLoad] Trunk, r=av, sr=beard
This commit is contained in:
parent
b018a5c2d2
commit
6728a55e86
@ -292,7 +292,8 @@ NS_IMETHODIMP
|
||||
PluginViewerImpl::StartLoad(nsIRequest* request, nsIStreamListener*& aResult)
|
||||
{
|
||||
nsCOMPtr<nsIChannel> channel = do_QueryInterface(request);
|
||||
if (!channel) return NS_ERROR_FAILURE;
|
||||
if (!channel || !mWindow)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
NS_IF_RELEASE(mChannel);
|
||||
mChannel = channel;
|
||||
@ -967,6 +968,7 @@ PluginListener::PluginListener(PluginViewerImpl* aViewer)
|
||||
NS_INIT_ISUPPORTS();
|
||||
mViewer = aViewer;
|
||||
NS_ADDREF(aViewer);
|
||||
mNextStream = nsnull;
|
||||
}
|
||||
|
||||
PluginListener::~PluginListener()
|
||||
|
Loading…
Reference in New Issue
Block a user