From af0c97cc0133a9b4de7af04f4c6b56d31bd47874 Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Thu, 15 Jul 1999 15:17:43 +0000 Subject: [PATCH] yanked some function redefinitions if NECKO was defined git-svn-id: svn://10.0.0.236/trunk@39534 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/src/nsDocumentViewer.cpp | 2 ++ mozilla/layout/base/nsDocumentViewer.cpp | 2 ++ mozilla/layout/base/src/nsDocumentViewer.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/mozilla/content/base/src/nsDocumentViewer.cpp b/mozilla/content/base/src/nsDocumentViewer.cpp index e2853ce45fe..c4073c674ab 100644 --- a/mozilla/content/base/src/nsDocumentViewer.cpp +++ b/mozilla/content/base/src/nsDocumentViewer.cpp @@ -734,6 +734,7 @@ nsIContentViewer *viewer; * See documentation above in the DocumentViewerImpl class definition * @update 07/09/99 dwc */ +#ifndef NECKO NS_IMETHODIMP DocumentViewerImpl::OnStartURLLoad(nsIDocumentLoader* loader, nsIURI* aURL, const char* aContentType,nsIContentViewer* aViewer) { @@ -774,6 +775,7 @@ nsresult rv; return NS_OK; } +#endif // NECKO NS_IMETHODIMP diff --git a/mozilla/layout/base/nsDocumentViewer.cpp b/mozilla/layout/base/nsDocumentViewer.cpp index e2853ce45fe..c4073c674ab 100644 --- a/mozilla/layout/base/nsDocumentViewer.cpp +++ b/mozilla/layout/base/nsDocumentViewer.cpp @@ -734,6 +734,7 @@ nsIContentViewer *viewer; * See documentation above in the DocumentViewerImpl class definition * @update 07/09/99 dwc */ +#ifndef NECKO NS_IMETHODIMP DocumentViewerImpl::OnStartURLLoad(nsIDocumentLoader* loader, nsIURI* aURL, const char* aContentType,nsIContentViewer* aViewer) { @@ -774,6 +775,7 @@ nsresult rv; return NS_OK; } +#endif // NECKO NS_IMETHODIMP diff --git a/mozilla/layout/base/src/nsDocumentViewer.cpp b/mozilla/layout/base/src/nsDocumentViewer.cpp index e2853ce45fe..c4073c674ab 100644 --- a/mozilla/layout/base/src/nsDocumentViewer.cpp +++ b/mozilla/layout/base/src/nsDocumentViewer.cpp @@ -734,6 +734,7 @@ nsIContentViewer *viewer; * See documentation above in the DocumentViewerImpl class definition * @update 07/09/99 dwc */ +#ifndef NECKO NS_IMETHODIMP DocumentViewerImpl::OnStartURLLoad(nsIDocumentLoader* loader, nsIURI* aURL, const char* aContentType,nsIContentViewer* aViewer) { @@ -774,6 +775,7 @@ nsresult rv; return NS_OK; } +#endif // NECKO NS_IMETHODIMP