diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-12 06:05:40 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-12 06:05:40 +0000 |
commit | 057dd6dd6c48f792cace3e84a98717540a9deb57 (patch) | |
tree | 9843030b0cb2ef78c91cc34e42472959e2e940b6 /www/galeon2/files/patch-mozilla_GaleonWrapper.cpp | |
parent | Update to 0.6.1 (diff) |
Update to 1.3.5.
Diffstat (limited to 'www/galeon2/files/patch-mozilla_GaleonWrapper.cpp')
-rw-r--r-- | www/galeon2/files/patch-mozilla_GaleonWrapper.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/www/galeon2/files/patch-mozilla_GaleonWrapper.cpp b/www/galeon2/files/patch-mozilla_GaleonWrapper.cpp deleted file mode 100644 index dca228aec48f..000000000000 --- a/www/galeon2/files/patch-mozilla_GaleonWrapper.cpp +++ /dev/null @@ -1,28 +0,0 @@ ---- mozilla/GaleonWrapper.cpp.orig Fri May 16 17:21:37 2003 -+++ mozilla/GaleonWrapper.cpp Fri May 16 17:23:41 2003 -@@ -70,7 +70,11 @@ - #include "nsCWebBrowser.h" - #include "nsReadableUtils.h" - #include "nsUnicharUtils.h" -+#if MOZILLA_SNAPSHOT > 7 -+#include "nsIDOMNSDocument.h" -+#else - #include "nsIDOMNSHTMLDocument.h" -+#endif - #include "nsIDOMHTMLDocument.h" - #include "nsIDOMHTMLCollection.h" - #include "nsIDOMHTMLElement.h" -@@ -1106,8 +1110,13 @@ - result = GetDOMDocument (getter_AddRefs(DOMDocument)); - if (NS_FAILED(result) || !DOMDocument) return NS_ERROR_FAILURE; - -+#if MOZILLA_SNAPSHOT > 7 -+ nsCOMPtr<nsIDOMNSDocument> doc = do_QueryInterface(DOMDocument); -+ if (!doc) return NS_ERROR_FAILURE; -+#else - nsCOMPtr<nsIDOMNSHTMLDocument> doc = do_QueryInterface(DOMDocument); - if(!doc) return NS_ERROR_FAILURE; -+#endif - - nsAutoString value; - doc->GetLastModified(value); |