зеркало из https://github.com/mozilla/pjs.git
Removing unecessary #includes
This commit is contained in:
Родитель
644829dda2
Коммит
26a951693c
|
@ -32,7 +32,6 @@
|
|||
#include "nsINodeInfo.h"
|
||||
#include "nsIPrincipal.h"
|
||||
#include "nsIRDFContentModelBuilder.h"
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsITextContent.h"
|
||||
#include "nsIXULContent.h"
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include "nscore.h"
|
||||
#include "nsIScriptContext.h"
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIDOMBarProp.h"
|
||||
|
||||
class nsIWebBrowserChrome;
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
*/
|
||||
|
||||
#include "nsIDOMDOMException.h"
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsDOMError.h"
|
||||
#include "prprf.h"
|
||||
#include "nsIScriptGlobalObject.h"
|
||||
|
@ -125,11 +124,6 @@ nsDOMException::QueryInterface(const nsIID& aIID,
|
|||
if (nsnull == aInstancePtrResult) {
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
if (aIID.Equals(NS_GET_IID(nsIScriptObjectOwner))) {
|
||||
*aInstancePtrResult = (void*) ((nsIScriptObjectOwner*)this);
|
||||
AddRef();
|
||||
return NS_OK;
|
||||
}
|
||||
if (aIID.Equals(NS_GET_IID(nsIDOMDOMException))) {
|
||||
*aInstancePtrResult = (void*) ((nsIDOMDOMException*)this);
|
||||
AddRef();
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIDOMWindowCollection.h"
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsString.h"
|
||||
|
||||
class nsIDocShellTreeNode;
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#ifndef nsHistory_h___
|
||||
#define nsHistory_h___
|
||||
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIDOMNSHistory.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nscore.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#ifndef nsMimeTypeArray_h___
|
||||
#define nsMimeTypeArray_h___
|
||||
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIDOMMimeTypeArray.h"
|
||||
#include "nsIDOMMimeType.h"
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#ifndef nsPluginArray_h___
|
||||
#define nsPluginArray_h___
|
||||
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIDOMPluginArray.h"
|
||||
#include "nsIDOMPlugin.h"
|
||||
#include "nsIPluginHost.h"
|
||||
|
|
|
@ -22,10 +22,8 @@
|
|||
#ifndef nsScreen_h___
|
||||
#define nsScreen_h___
|
||||
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIDOMScreen.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nscore.h"
|
||||
#include "nsIScriptContext.h"
|
||||
|
||||
class nsIDocShell;
|
||||
|
|
Загрузка…
Ссылка в новой задаче