Fix for #18679
git-svn-id: svn://10.0.0.236/trunk@58179 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1784,11 +1784,14 @@ NS_IMETHODIMP nsPluginInstanceOwner::ShowStatus(const char *aStatusMsg)
|
||||
{
|
||||
nsCOMPtr<nsIBrowserWindow> browserWindow(do_QueryInterface(rootContainer));
|
||||
|
||||
if (rootContainer)
|
||||
if(browserWindow)
|
||||
{
|
||||
nsAutoString msg = nsAutoString(aStatusMsg);
|
||||
if (rootContainer)
|
||||
{
|
||||
nsAutoString msg = nsAutoString(aStatusMsg);
|
||||
|
||||
rv = browserWindow->SetStatus(msg.GetUnicode());
|
||||
rv = browserWindow->SetStatus(msg.GetUnicode());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1784,11 +1784,14 @@ NS_IMETHODIMP nsPluginInstanceOwner::ShowStatus(const char *aStatusMsg)
|
||||
{
|
||||
nsCOMPtr<nsIBrowserWindow> browserWindow(do_QueryInterface(rootContainer));
|
||||
|
||||
if (rootContainer)
|
||||
if(browserWindow)
|
||||
{
|
||||
nsAutoString msg = nsAutoString(aStatusMsg);
|
||||
if (rootContainer)
|
||||
{
|
||||
nsAutoString msg = nsAutoString(aStatusMsg);
|
||||
|
||||
rv = browserWindow->SetStatus(msg.GetUnicode());
|
||||
rv = browserWindow->SetStatus(msg.GetUnicode());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user