From 3d5f01732280af8d007753c848487e0c822fb55c Mon Sep 17 00:00:00 2001 From: Zbigniew Braniecki Date: Fri, 30 Oct 2009 00:55:05 +0100 Subject: [PATCH] Bug 524737. ifdef nsHTMLMediaElement.h to fix compilation with --disable-ogg + --disable-wav, p=bartml@wp.pl,r=roc --- content/base/src/nsDocument.cpp | 2 ++ content/base/src/nsNodeUtils.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/content/base/src/nsDocument.cpp b/content/base/src/nsDocument.cpp index 51d288428565..3f5d75271f13 100644 --- a/content/base/src/nsDocument.cpp +++ b/content/base/src/nsDocument.cpp @@ -169,7 +169,9 @@ static NS_DEFINE_CID(kDOMEventGroupCID, NS_DOMEVENTGROUP_CID); #include "nsIPropertyBag2.h" #include "nsIDOMPageTransitionEvent.h" #include "nsFrameLoader.h" +#ifdef MOZ_MEDIA #include "nsHTMLMediaElement.h" +#endif // MOZ_MEDIA #include "mozAutoDocUpdate.h" diff --git a/content/base/src/nsNodeUtils.cpp b/content/base/src/nsNodeUtils.cpp index 66222824e7cc..2cd13cb7ea00 100644 --- a/content/base/src/nsNodeUtils.cpp +++ b/content/base/src/nsNodeUtils.cpp @@ -56,7 +56,9 @@ #endif #include "nsBindingManager.h" #include "nsGenericHTMLElement.h" +#ifdef MOZ_MEDIA #include "nsHTMLMediaElement.h" +#endif // MOZ_MEDIA // This macro expects the ownerDocument of content_ to be in scope as // |nsIDocument* doc|