diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-09-21 20:16:40 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-09-21 20:16:40 +0800 |
commit | 8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e (patch) | |
tree | 8e4ab558f39793769810a8ae09766a9519b117e3 /embed/mozilla/EphyContentPolicy.cpp | |
parent | b853dd33180565c32e0955b747bc17e5f10f0bbe (diff) | |
download | gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.gz gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.bz2 gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.lz gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.xz gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.zst gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.zip |
Simplified nsIContentPolicy API check.
2004-09-21 Christian Persch <chpe@cvs.gnome.org>
* configure.in:
* embed/mozilla/EphyContentPolicy.cpp:
Simplified nsIContentPolicy API check.
Diffstat (limited to 'embed/mozilla/EphyContentPolicy.cpp')
-rw-r--r-- | embed/mozilla/EphyContentPolicy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EphyContentPolicy.cpp b/embed/mozilla/EphyContentPolicy.cpp index 65b26b05b..35485ea7a 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 +#if 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 */ |