From 9ba0bbeba0a938c2c5d01542594ec7d798f28275 Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Wed, 11 Sep 2002 04:32:38 +0000 Subject: [PATCH] temporary hack to fix mac bustage... will return with the real fix. --- content/html/document/src/nsHTMLContentSink.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index a4852403c77..cbc98c798a1 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -101,7 +101,9 @@ #include "nsICharsetAlias.h" #include "nsIChannel.h" #include "nsIHttpChannel.h" +#ifndef XP_MAC #include "nsCPrefetchService.h" +#endif #include "nsIWebShell.h" #include "nsIDocShell.h" @@ -4431,6 +4433,7 @@ HTMLContentSink::ProcessStyleLink(nsIHTMLContent* aElement, void HTMLContentSink::ProcessNextLink(const nsAString &aHref) { +#ifndef XP_MAC nsCOMPtr prefetchService( do_GetService(NS_PREFETCHSERVICE_CONTRACTID)); if (prefetchService) { @@ -4445,6 +4448,7 @@ HTMLContentSink::ProcessNextLink(const nsAString &aHref) if (uri) prefetchService->PrefetchURI(uri); } +#endif } nsresult