Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@141776 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -55,7 +55,6 @@
|
||||
#include "nsScriptSecurityManager.h"
|
||||
#include "nsDocumentCharsetInfoCID.h"
|
||||
#include "nsICanvasFrame.h"
|
||||
#include "nsIPluginViewer.h"
|
||||
#include "nsContentPolicyUtils.h" // NS_CheckContentLoadPolicy(...)
|
||||
#include "nsICategoryManager.h"
|
||||
#include "nsXPCOMCID.h"
|
||||
@@ -4605,17 +4604,6 @@ nsDocShell::NewContentViewerObj(const char *aContentType,
|
||||
aViewer),
|
||||
NS_ERROR_FAILURE);
|
||||
|
||||
nsCOMPtr<nsIPluginViewer> pv(do_QueryInterface(*aViewer));
|
||||
if (pv) {
|
||||
if (mName.EqualsIgnoreCase("messagepane")) {
|
||||
NS_IF_RELEASE(*aViewer);
|
||||
NS_IF_RELEASE(*aContentHandler);
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
else
|
||||
SetTitle(nsnull); // clear title bar for full-page plugin
|
||||
}
|
||||
|
||||
(*aViewer)->SetContainer(NS_STATIC_CAST(nsIContentViewerContainer *, this));
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user