From f77ab5063eb37fc2ef91f0aa9e8c553068d192c3 Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Wed, 17 Nov 1999 09:22:47 +0000 Subject: [PATCH] Fix for bustage due to channel retargeting changes. git-svn-id: svn://10.0.0.236/trunk@53767 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 5 ++++- mozilla/docshell/base/nsDocShell.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index 0ebf93a516a..7e89fddb437 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -2003,4 +2003,7 @@ nsresult nsDocShell::GetPrimaryFrameFor(nsIContent* content, nsIFrame** frame) return NS_ERROR_FAILURE; } - +NS_IMETHODIMP nsDocShell::QueryCapability(const nsIID& anIID, void** aSink) +{ + return QueryInterface(anIID, aSink); +} diff --git a/mozilla/docshell/base/nsDocShell.h b/mozilla/docshell/base/nsDocShell.h index 919dc3c085f..e6a835d54db 100644 --- a/mozilla/docshell/base/nsDocShell.h +++ b/mozilla/docshell/base/nsDocShell.h @@ -81,6 +81,7 @@ public: NS_DECL_NSISCROLLABLE NS_DECL_NSITEXTSCROLL NS_DECL_NSIHTMLDOCSHELL + NS_DECL_NSICAPABILITIES // XXX: move to a macro // nsIContentViewerContainer