mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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 : 868b6971a2ae0d45023fb11f31b3874159a793b0
This commit is contained in:
parent
e25c1519f1
commit
b7774f093b
@ -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:
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user