diff --git a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp index 19b8c48524a..74fa3e3badb 100644 --- a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -1118,7 +1118,7 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnStopRequest(nsIChannel* channel, { char* urlString; nsCOMPtr localFile; - nsresult rv = channel->GetLocalFile(getter_AddRefs(localFile)); + rv = channel->GetLocalFile(getter_AddRefs(localFile)); if (NS_SUCCEEDED(rv) && localFile) { char* pathAndFilename; diff --git a/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp b/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp index 19b8c48524a..74fa3e3badb 100644 --- a/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp @@ -1118,7 +1118,7 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnStopRequest(nsIChannel* channel, { char* urlString; nsCOMPtr localFile; - nsresult rv = channel->GetLocalFile(getter_AddRefs(localFile)); + rv = channel->GetLocalFile(getter_AddRefs(localFile)); if (NS_SUCCEEDED(rv) && localFile) { char* pathAndFilename;