From 9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 28 Jul 2004 21:52:39 +0000 Subject: Mozilla API change. 2004-07-28 Christian Persch * embed/mozilla/EphyContentPolicy.cpp: Mozilla API change. --- embed/mozilla/EphyContentPolicy.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'embed/mozilla') diff --git a/embed/mozilla/EphyContentPolicy.cpp b/embed/mozilla/EphyContentPolicy.cpp index b4dbfe632..a7200c3da 100644 --- a/embed/mozilla/EphyContentPolicy.cpp +++ b/embed/mozilla/EphyContentPolicy.cpp @@ -64,7 +64,11 @@ NS_IMETHODIMP EphyContentPolicy::ShouldLoad(PRUint32 aContentType, nsIURI *aContentLocation, nsIURI *aRequestingLocation, +#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) + nsISupports *aContext, +#else nsIDOMNode *aRequestingNode, +#endif const nsACString &aMimeTypeGuess, nsISupports *aExtra, PRInt16 *aDecision) @@ -103,7 +107,11 @@ NS_IMETHODIMP EphyContentPolicy::ShouldProcess(PRUint32 aContentType, nsIURI *aContentLocation, nsIURI *aRequestingLocation, +#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) + nsISupports *aContext, +#else nsIDOMNode *aRequestingNode, +#endif const nsACString &aMimeType, nsISupports *aExtra, PRInt16 *aDecision) -- cgit v1.2.3