Bug 514280 Remove concrete classes from interface maps r=bsmedberg

This commit is contained in:
Neil Rashbrook 2014-03-28 08:40:13 +00:00
Родитель 1f60c22cea
Коммит 757dacf9be
10 изменённых файлов: 9 добавлений и 13 удалений

Просмотреть файл

@ -52,7 +52,6 @@ NS_IMPL_CYCLE_COLLECTION_3(nsAccessiblePivot, mRoot, mPosition, mObservers)
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsAccessiblePivot)
NS_INTERFACE_MAP_ENTRY(nsIAccessiblePivot)
NS_INTERFACE_MAP_ENTRY(nsAccessiblePivot)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIAccessiblePivot)
NS_INTERFACE_MAP_END

Просмотреть файл

@ -25,7 +25,7 @@ namespace mozilla {
using namespace mozilla::gfx;
NS_IMPL_ISUPPORTS1(MediaEngineTabVideoSource, MediaEngineVideoSource)
NS_IMPL_ISUPPORTS2(MediaEngineTabVideoSource, nsIDOMEventListener, nsITimerCallback)
MediaEngineTabVideoSource::MediaEngineTabVideoSource()
: mMonitor("MediaEngineTabVideoSource")

Просмотреть файл

@ -43,7 +43,7 @@ nsWindowMemoryReporter::~nsWindowMemoryReporter()
}
NS_IMPL_ISUPPORTS3(nsWindowMemoryReporter, nsIMemoryReporter, nsIObserver,
nsSupportsWeakReference)
nsISupportsWeakReference)
static nsresult
AddNonJSSizeOfWindowAndItsDescendents(nsGlobalWindow* aWindow,

Просмотреть файл

@ -966,7 +966,7 @@ NS_INTERFACE_MAP_BEGIN(TabChild)
NS_INTERFACE_MAP_ENTRY(nsIWebProgressListener)
NS_INTERFACE_MAP_ENTRY(nsITabChild)
NS_INTERFACE_MAP_ENTRY(nsIObserver)
NS_INTERFACE_MAP_ENTRY(nsSupportsWeakReference)
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
NS_INTERFACE_MAP_ENTRY(nsITooltipListener)
NS_INTERFACE_MAP_END

Просмотреть файл

@ -82,9 +82,8 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(nsAnonymousContentList)
NS_INTERFACE_TABLE_HEAD(nsAnonymousContentList)
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
NS_INTERFACE_TABLE_INHERITED3(nsAnonymousContentList, nsINodeList,
nsIDOMNodeList,
nsAnonymousContentList)
NS_INTERFACE_TABLE_INHERITED2(nsAnonymousContentList, nsINodeList,
nsIDOMNodeList)
NS_INTERFACE_TABLE_TO_MAP_SEGUE
NS_INTERFACE_MAP_ENTRIES_CYCLE_COLLECTION(nsAnonymousContentList)
NS_INTERFACE_MAP_ENTRY(nsISupports)

Просмотреть файл

@ -34,7 +34,7 @@ nsPopupWindowManager::~nsPopupWindowManager()
NS_IMPL_ISUPPORTS3(nsPopupWindowManager,
nsIPopupWindowManager,
nsIObserver,
nsSupportsWeakReference)
nsISupportsWeakReference)
nsresult
nsPopupWindowManager::Init()

Просмотреть файл

@ -47,7 +47,7 @@ uint8_t nsContentBlocker::mBehaviorPref[NUMBER_OF_TYPES];
NS_IMPL_ISUPPORTS3(nsContentBlocker,
nsIContentPolicy,
nsIObserver,
nsSupportsWeakReference)
nsISupportsWeakReference)
nsContentBlocker::nsContentBlocker()
{

Просмотреть файл

@ -1008,7 +1008,7 @@ private:
nsCString mPACURL;
bool mCompleted;
};
NS_IMPL_ISUPPORTS1(nsAsyncBridgeRequest, nsPACManCallback)
NS_IMPL_ISUPPORTS0(nsAsyncBridgeRequest)
// nsIProtocolProxyService2
NS_IMETHODIMP

Просмотреть файл

@ -7,7 +7,7 @@
#include "nsIServiceManager.h"
#import <Foundation/Foundation.h>
NS_IMPL_ISUPPORTS2(nsIdleServiceX, nsIIdleService, nsIdleService)
NS_IMPL_ISUPPORTS_INHERITED0(nsIdleServiceX, nsIdleService)
bool
nsIdleServiceX::PollIdleTime(uint32_t *aIdleTime)

Просмотреть файл

@ -121,7 +121,6 @@ NS_IMPL_ADDREF(Component1)
NS_IMPL_RELEASE(Component1)
NS_INTERFACE_MAP_BEGIN(Component1)
NS_INTERFACE_MAP_ENTRY(Component1)
NS_INTERFACE_MAP_ENTRY(nsISupports)
NS_INTERFACE_MAP_END
@ -141,7 +140,6 @@ NS_IMPL_ADDREF(Component2)
NS_IMPL_RELEASE(Component2)
NS_INTERFACE_MAP_BEGIN(Component2)
NS_INTERFACE_MAP_ENTRY(Component2)
NS_INTERFACE_MAP_ENTRY(nsISupports)
NS_INTERFACE_MAP_END