aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/GlobalHistory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp
index 7a5fce6f6..1cd19c513 100644
--- a/embed/mozilla/GlobalHistory.cpp
+++ b/embed/mozilla/GlobalHistory.cpp
@@ -161,6 +161,9 @@ NS_IMETHODIMP MozGlobalHistory::SetPageTitle(nsIURI *aURI,
}
#ifdef HAVE_NSIGLOBALHISTORY3_H
+
+#ifdef HAVE_GECKO_1_9
+
/* unsigned long getURIGeckoFlags(in nsIURI aURI); */
NS_IMETHODIMP
MozGlobalHistory::GetURIGeckoFlags(nsIURI *aURI,
@@ -214,6 +217,8 @@ MozGlobalHistory::SetURIGeckoFlags(nsIURI *aURI,
return NS_ERROR_FAILURE;
}
+#endif /* HAVE_GECKO_1_9 */
+
/* void addDocumentRedirect (in nsIChannel
aOldChannel,
in nsIChannel aNewChannel,