Part of 23667 fix, r=sean@beatnik.com
git-svn-id: svn://10.0.0.236/trunk@72977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1118,7 +1118,7 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnStopRequest(nsIChannel* channel,
|
||||
{
|
||||
char* urlString;
|
||||
nsCOMPtr<nsIFile> localFile;
|
||||
nsresult rv = channel->GetLocalFile(getter_AddRefs(localFile));
|
||||
rv = channel->GetLocalFile(getter_AddRefs(localFile));
|
||||
if (NS_SUCCEEDED(rv) && localFile)
|
||||
{
|
||||
char* pathAndFilename;
|
||||
|
||||
@@ -1118,7 +1118,7 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnStopRequest(nsIChannel* channel,
|
||||
{
|
||||
char* urlString;
|
||||
nsCOMPtr<nsIFile> localFile;
|
||||
nsresult rv = channel->GetLocalFile(getter_AddRefs(localFile));
|
||||
rv = channel->GetLocalFile(getter_AddRefs(localFile));
|
||||
if (NS_SUCCEEDED(rv) && localFile)
|
||||
{
|
||||
char* pathAndFilename;
|
||||
|
||||
Reference in New Issue
Block a user