diff --git a/docshell/base/nsDSURIContentListener.cpp b/docshell/base/nsDSURIContentListener.cpp index 0569bfc05b17..2b925bc3cef9 100644 --- a/docshell/base/nsDSURIContentListener.cpp +++ b/docshell/base/nsDSURIContentListener.cpp @@ -54,6 +54,16 @@ NS_INTERFACE_MAP_END // nsDSURIContentListener::nsIURIContentListener //***************************************************************************** +NS_IMETHODIMP nsDSURIContentListener::OnStartURIOpen(nsIURI* aURI, + const char* aWindowTarget, PRBool* aAbortOpen) +{ + if(mParentContentListener) + return mParentContentListener->OnStartURIOpen(aURI, aWindowTarget, + aAbortOpen); + + return NS_OK; +} + NS_IMETHODIMP nsDSURIContentListener::GetProtocolHandler(nsIURI* aURI, nsIProtocolHandler** aProtocolHandler) { diff --git a/gfx/src/nsImageNetContextAsync.cpp b/gfx/src/nsImageNetContextAsync.cpp index 83c04a20dbdf..c679f95d89d3 100644 --- a/gfx/src/nsImageNetContextAsync.cpp +++ b/gfx/src/nsImageNetContextAsync.cpp @@ -176,6 +176,14 @@ NS_IMETHODIMP ImageConsumer::GetInterface(const nsIID & aIID, void * *aInstanceP } // nsIURIContentListener support + +NS_IMETHODIMP +ImageConsumer::OnStartURIOpen(nsIURI* aURI, + const char* aWindowTarget, PRBool* aAbortOpen) +{ + return NS_OK; +} + NS_IMETHODIMP ImageConsumer::GetProtocolHandler(nsIURI *aURI, nsIProtocolHandler **aProtocolHandler) {