Bug 826632. Part 4: nsViewManager does not need to implement nsISupports anymore. r=tnikkel

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c075212306ddadf37218d440f629becd5d2c52e2
This commit is contained in:
Robert O'Callahan 2013-01-05 16:12:57 +13:00
parent e39041c9dd
commit 4269754258
2 changed files with 2 additions and 13 deletions

View File

@ -26,20 +26,14 @@ class nsDeviceContext;
class nsIPresShell;
class nsView;
#define NS_IVIEWMANAGER_IID \
{ 0x540610a6, 0x4fdd, 0x4ae3, \
{ 0x9b, 0xdb, 0xa6, 0x4d, 0x8b, 0xca, 0x02, 0x0f } }
class nsViewManager : public nsISupports
class nsViewManager
{
public:
friend class nsView;
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IVIEWMANAGER_IID)
NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
NS_DECL_ISUPPORTS
NS_INLINE_DECL_REFCOUNTING(nsViewManager)
nsViewManager();
virtual ~nsViewManager();
@ -429,9 +423,6 @@ private:
static nsVoidArray *gViewManagers;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsViewManager, NS_IVIEWMANAGER_IID)
/**
Invalidation model:

View File

@ -122,8 +122,6 @@ nsViewManager::~nsViewManager()
mPresShell = nullptr;
}
NS_IMPL_ISUPPORTS1(nsViewManager, nsViewManager)
// We don't hold a reference to the presentation context because it
// holds a reference to us.
NS_IMETHODIMP nsViewManager::Init(nsDeviceContext* aContext)