diff --git a/chrome/public/nsIChromeRegistry.idl b/chrome/public/nsIChromeRegistry.idl index 82d40d8fbf33..42e28054e72f 100644 --- a/chrome/public/nsIChromeRegistry.idl +++ b/chrome/public/nsIChromeRegistry.idl @@ -26,7 +26,7 @@ #include "nsIURL.idl" #include "nsIEnumerator.idl" #include "nsISupportsArray.idl" -#include "nsIDocShell.idl" +interface nsIDocShell; [scriptable, uuid(D8C7D8A1-E84C-11d2-BF87-00105A1B0627)] interface nsIChromeRegistry : nsISupports diff --git a/chrome/src/nsChromeRegistry.cpp b/chrome/src/nsChromeRegistry.cpp index 347f562cc2fd..14bb68a7d2e3 100644 --- a/chrome/src/nsChromeRegistry.cpp +++ b/chrome/src/nsChromeRegistry.cpp @@ -68,6 +68,7 @@ #include "nsIHTMLStyleSheet.h" #include "nsIHTMLContentContainer.h" #include "nsIPresShell.h" +#include "nsIDocShell.h" #include "nsIStyleSet.h" #include "nsISupportsArray.h" #include "nsICSSLoader.h" diff --git a/rdf/chrome/public/nsIChromeRegistry.idl b/rdf/chrome/public/nsIChromeRegistry.idl index 82d40d8fbf33..42e28054e72f 100644 --- a/rdf/chrome/public/nsIChromeRegistry.idl +++ b/rdf/chrome/public/nsIChromeRegistry.idl @@ -26,7 +26,7 @@ #include "nsIURL.idl" #include "nsIEnumerator.idl" #include "nsISupportsArray.idl" -#include "nsIDocShell.idl" +interface nsIDocShell; [scriptable, uuid(D8C7D8A1-E84C-11d2-BF87-00105A1B0627)] interface nsIChromeRegistry : nsISupports diff --git a/rdf/chrome/src/nsChromeRegistry.cpp b/rdf/chrome/src/nsChromeRegistry.cpp index 347f562cc2fd..14bb68a7d2e3 100644 --- a/rdf/chrome/src/nsChromeRegistry.cpp +++ b/rdf/chrome/src/nsChromeRegistry.cpp @@ -68,6 +68,7 @@ #include "nsIHTMLStyleSheet.h" #include "nsIHTMLContentContainer.h" #include "nsIPresShell.h" +#include "nsIDocShell.h" #include "nsIStyleSet.h" #include "nsISupportsArray.h" #include "nsICSSLoader.h"