aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/EphyContentPolicy.cpp8
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ac455b44c..8253035ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-28 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/EphyContentPolicy.cpp:
+
+ Mozilla API change.
+
2004-07-27 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-embed-single.h:
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)