From a1f600cbbfd7f785de9032896d45a95ba7564b91 Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.demon.co.uk" Date: Fri, 26 May 2006 15:03:05 +0000 Subject: [PATCH] Bug 339244 Layout won't build with --disable-inspector-apis r=benjamin,sr=dbaron --- layout/build/nsLayoutModule.cpp | 2 ++ layout/build/nsLayoutStatics.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/layout/build/nsLayoutModule.cpp b/layout/build/nsLayoutModule.cpp index ba2e08723a49..bda5a2a02513 100644 --- a/layout/build/nsLayoutModule.cpp +++ b/layout/build/nsLayoutModule.cpp @@ -166,12 +166,14 @@ static NS_DEFINE_CID(kWindowCommandTableCID, NS_WINDOWCOMMANDTABLE_CID); #include "nsIXULPrototypeDocument.h" #include "nsIXULSortService.h" +#ifndef MOZ_NO_INSPECTOR_APIS #include "inDOMView.h" #include "inDeepTreeWalker.h" #include "inFlasher.h" #include "inCSSValueSearch.h" #include "inFileSearch.h" #include "inDOMUtils.h" +#endif NS_IMETHODIMP NS_NewXULContentBuilder(nsISupports* aOuter, REFNSIID aIID, void** aResult); diff --git a/layout/build/nsLayoutStatics.cpp b/layout/build/nsLayoutStatics.cpp index 117446a8368a..32b45abf9d62 100644 --- a/layout/build/nsLayoutStatics.cpp +++ b/layout/build/nsLayoutStatics.cpp @@ -93,7 +93,9 @@ #include "nsSVGUtils.h" #endif +#ifndef MOZ_NO_INSPECTOR_APIS #include "inDOMView.h" +#endif #include "nsError.h" #include "nsTraceRefcnt.h"