From 1d2d283c84965e1583de6bc6d46a58cd1b39ac29 Mon Sep 17 00:00:00 2001 From: "alex%croczilla.com" Date: Thu, 7 Oct 2004 21:23:52 +0000 Subject: [PATCH] Wrap GetXTFServiceWeakRef in #ifdef MOZ_XTF to fix non-xtf builds. --- content/base/src/nsContentUtils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/base/src/nsContentUtils.cpp b/content/base/src/nsContentUtils.cpp index 53ee4c9aeba..ea3184f5ade 100644 --- a/content/base/src/nsContentUtils.cpp +++ b/content/base/src/nsContentUtils.cpp @@ -214,6 +214,7 @@ nsContentUtils::GetParserServiceWeakRef() return sParserService; } +#ifdef MOZ_XTF nsIXTFService* nsContentUtils::GetXTFServiceWeakRef() { @@ -226,6 +227,7 @@ nsContentUtils::GetXTFServiceWeakRef() return sXTFService; } +#endif template struct NormalizeNewlinesCharTraits {