From 0b8da1bcce43870ffe3540b9faabc2202ac93c87 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 30 Aug 2013 17:17:07 -0400 Subject: [PATCH] Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats --- accessible/src/html/HTMLFormControlAccessible.cpp | 1 - content/base/src/nsINode.cpp | 1 - content/html/content/src/HTMLOptionsCollection.cpp | 1 - content/html/content/src/HTMLTrackElement.cpp | 1 - content/svg/content/src/SVGTextPathElement.cpp | 1 - gfx/thebes/gfxSVGGlyphs.cpp | 1 - layout/generic/nsIObjectFrame.h | 3 ++- 7 files changed, 2 insertions(+), 7 deletions(-) diff --git a/accessible/src/html/HTMLFormControlAccessible.cpp b/accessible/src/html/HTMLFormControlAccessible.cpp index 729885cda4bc..fab1ebb03bbc 100644 --- a/accessible/src/html/HTMLFormControlAccessible.cpp +++ b/accessible/src/html/HTMLFormControlAccessible.cpp @@ -22,7 +22,6 @@ #include "nsIDOMHTMLTextAreaElement.h" #include "nsIEditor.h" #include "nsIFormControl.h" -#include "nsIFrame.h" #include "nsINameSpaceManager.h" #include "nsISelectionController.h" #include "jsapi.h" diff --git a/content/base/src/nsINode.cpp b/content/base/src/nsINode.cpp index 36da8181839b..a293fe0c1e3f 100644 --- a/content/base/src/nsINode.cpp +++ b/content/base/src/nsINode.cpp @@ -61,7 +61,6 @@ #include "nsIDOMUserDataHandler.h" #include "nsIEditor.h" #include "nsIEditorIMESupport.h" -#include "nsIFrame.h" #include "nsILinkHandler.h" #include "nsINameSpaceManager.h" #include "nsINodeInfo.h" diff --git a/content/html/content/src/HTMLOptionsCollection.cpp b/content/html/content/src/HTMLOptionsCollection.cpp index f135d606efeb..712ff9267256 100644 --- a/content/html/content/src/HTMLOptionsCollection.cpp +++ b/content/html/content/src/HTMLOptionsCollection.cpp @@ -25,7 +25,6 @@ #include "nsIFormControlFrame.h" #include "nsIForm.h" #include "nsIFormProcessor.h" -#include "nsIFrame.h" #include "nsIListControlFrame.h" #include "nsLayoutUtils.h" #include "nsMappedAttributes.h" diff --git a/content/html/content/src/HTMLTrackElement.cpp b/content/html/content/src/HTMLTrackElement.cpp index 34489436602e..6f22b742bd75 100644 --- a/content/html/content/src/HTMLTrackElement.cpp +++ b/content/html/content/src/HTMLTrackElement.cpp @@ -25,7 +25,6 @@ #include "nsIDocument.h" #include "nsIDOMEventTarget.h" #include "nsIDOMHTMLMediaElement.h" -#include "nsIFrame.h" #include "nsIHttpChannel.h" #include "nsIInterfaceRequestor.h" #include "nsILoadGroup.h" diff --git a/content/svg/content/src/SVGTextPathElement.cpp b/content/svg/content/src/SVGTextPathElement.cpp index 13e79c2219b0..dd11626fb2ae 100644 --- a/content/svg/content/src/SVGTextPathElement.cpp +++ b/content/svg/content/src/SVGTextPathElement.cpp @@ -7,7 +7,6 @@ #include "mozilla/dom/SVGTextPathElementBinding.h" #include "nsSVGElement.h" #include "nsGkAtoms.h" -#include "nsIFrame.h" #include "nsError.h" NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(TextPath) diff --git a/gfx/thebes/gfxSVGGlyphs.cpp b/gfx/thebes/gfxSVGGlyphs.cpp index f8312f4650d1..a154e8fecaa2 100644 --- a/gfx/thebes/gfxSVGGlyphs.cpp +++ b/gfx/thebes/gfxSVGGlyphs.cpp @@ -18,7 +18,6 @@ #include "nsIStreamListener.h" #include "nsServiceManagerUtils.h" #include "nsIPresShell.h" -#include "nsIFrame.h" #include "nsQueryFrame.h" #include "nsIContentSink.h" #include "nsXMLContentSink.h" diff --git a/layout/generic/nsIObjectFrame.h b/layout/generic/nsIObjectFrame.h index b546d2dd18c3..801ca03b7030 100644 --- a/layout/generic/nsIObjectFrame.h +++ b/layout/generic/nsIObjectFrame.h @@ -11,9 +11,10 @@ #ifndef nsIObjectFrame_h___ #define nsIObjectFrame_h___ -#include "nsIFrame.h" +#include "nsQueryFrame.h" class nsNPAPIPluginInstance; +class nsIWidget; class nsIObjectFrame : public nsQueryFrame {