aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyContentPolicy.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-21 20:13:37 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-21 20:13:37 +0800
commit3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b (patch)
tree099ca598b6a918c989705089018deb2f6d89a11f /embed/mozilla/EphyContentPolicy.cpp
parent5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f (diff)
downloadgsoc2013-epiphany-3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b.tar
gsoc2013-epiphany-3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b.tar.gz
gsoc2013-epiphany-3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b.tar.bz2
gsoc2013-epiphany-3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b.tar.lz
gsoc2013-epiphany-3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b.tar.xz
gsoc2013-epiphany-3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b.tar.zst
gsoc2013-epiphany-3b0183d0c5fe0fac101a63a4e1a065dfb23e4f6b.zip
Simplified nsIContentPolicy API check.
2004-09-21 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/EphyContentPolicy.cpp: Simplified nsIContentPolicy API check.
Diffstat (limited to 'embed/mozilla/EphyContentPolicy.cpp')
-rw-r--r--embed/mozilla/EphyContentPolicy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EphyContentPolicy.cpp b/embed/mozilla/EphyContentPolicy.cpp
index 65b26b05b..54a0511a5 100644
--- a/embed/mozilla/EphyContentPolicy.cpp
+++ b/embed/mozilla/EphyContentPolicy.cpp
@@ -59,7 +59,7 @@ EphyContentPolicy::~EphyContentPolicy()
g_slist_free (mSafeProtocols);
}
-#ifdef MOZ_NSICONTENTPOLICY_VARIANT_2
+#ifdef MOZ_NSICONTENTPOLICY_VARIANT == 2
NS_IMETHODIMP
EphyContentPolicy::ShouldLoad(PRUint32 aContentType,
nsIURI *aContentLocation,
@@ -158,4 +158,4 @@ NS_IMETHODIMP EphyContentPolicy::ShouldProcess(PRInt32 contentType,
*_retval = PR_TRUE;
return NS_OK;
}
-#endif /* MOZ_NSICONTENTPOLICY_VARIANT_2 || MOZ_NSICONTENTPOLICY_VARIANT_3 */
+#endif /* MOZ_NSICONTENTPOLICY_VARIANT == 2 */