Bug 866225 - remove some useless #includes, r=mccr8

--HG--
extra : rebase_source : 6cfd39ac879e525fc02961dd002f6920b1c11775
This commit is contained in:
Olli Pettay 2013-04-27 02:15:04 +03:00
parent bf4a4d47aa
commit fe71a90e6a
5 changed files with 1 additions and 16 deletions

View File

@ -17,8 +17,6 @@
#include "nsChangeHint.h" // for enum
#include "nsEventStates.h" // for member
#include "mozilla/dom/DirectionalityUtils.h"
#include "nsCOMPtr.h"
#include "nsAutoPtr.h"
#include "nsIDOMElement.h"
#include "nsIDOMDocumentFragment.h"
#include "nsILinkHandler.h"
@ -26,20 +24,13 @@
#include "nsAttrAndChildArray.h"
#include "mozFlushType.h"
#include "nsDOMAttributeMap.h"
#include "nsIWeakReference.h"
#include "nsCycleCollectionParticipant.h"
#include "nsIDocument.h"
#include "nsIDOMNodeSelector.h"
#include "nsIDOMXPathNSResolver.h"
#include "nsPresContext.h"
#include "nsDOMClassInfoID.h" // DOMCI_DATA
#include "nsIDOMTouchEvent.h"
#include "nsIInlineEventHandlers.h"
#include "mozilla/CORSMode.h"
#include "mozilla/Attributes.h"
#include "nsContentUtils.h"
#include "nsINodeList.h"
#include "mozilla/ErrorResult.h"
#include "nsIScrollableFrame.h"
#include "mozilla/dom/Attr.h"
#include "nsISMILAttr.h"

View File

@ -13,7 +13,6 @@
#define FragmentOrElement_h___
#include "nsAttrAndChildArray.h" // member
#include "nsCOMPtr.h" // member
#include "nsCycleCollectionParticipant.h" // NS_DECL_CYCLE_*
#include "nsIContent.h" // base class
#include "nsIDOMTouchEvent.h" // base class (nsITouchEventReceiver)

View File

@ -6,9 +6,7 @@
#define nsIContent_h___
#include "nsCaseTreatment.h" // for enum, cannot be forward-declared
#include "nsCOMPtr.h" // for already_AddRefed in constructor
#include "nsIDocument.h" // for use in inline function (IsInHTMLDocument)
#include "nsINode.h" // for base class
#include "nsIDocument.h"
// Forward declarations
class nsAString;

View File

@ -6,11 +6,9 @@
#ifndef nsINode_h___
#define nsINode_h___
#include "mozilla/ErrorResult.h"
#include "mozilla/Likely.h"
#include "nsCOMPtr.h" // for member, local
#include "nsGkAtoms.h" // for nsGkAtoms::baseURIProperty
#include "nsIDOMEventTarget.h" // for base class
#include "nsIDOMNode.h"
#include "nsIDOMNodeSelector.h" // base class
#include "nsINodeInfo.h" // member (in nsCOMPtr)

View File

@ -11,7 +11,6 @@
#include "nsIDOMEventListener.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/dom/Nullable.h"
#include "nsIDOMEvent.h"
class nsDOMEvent;
namespace mozilla {