mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 767757 - Move nsAccessNode::Init() to Acccessible::Init() r=trev.saunders
This commit is contained in:
parent
d620727817
commit
697500916b
@ -74,12 +74,6 @@ void nsAccessNode::LastRelease()
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// nsAccessNode public
|
||||
|
||||
bool
|
||||
nsAccessNode::Init()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
nsAccessNode::Shutdown()
|
||||
|
@ -63,11 +63,6 @@ public:
|
||||
*/
|
||||
mozilla::a11y::RootAccessible* RootAccessible() const;
|
||||
|
||||
/**
|
||||
* Initialize the access node object, add it to the cache.
|
||||
*/
|
||||
virtual bool Init();
|
||||
|
||||
/**
|
||||
* Shutdown the access node object.
|
||||
*/
|
||||
|
@ -194,6 +194,12 @@ Accessible::SetRoleMapEntry(nsRoleMapEntry* aRoleMapEntry)
|
||||
mRoleMapEntry = aRoleMapEntry;
|
||||
}
|
||||
|
||||
bool
|
||||
Accessible::Init()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
Accessible::GetDocument(nsIAccessibleDocument** aDocument)
|
||||
{
|
||||
|
@ -126,6 +126,11 @@ public:
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// Public methods
|
||||
|
||||
/**
|
||||
* Initialize the accessible.
|
||||
*/
|
||||
virtual bool Init();
|
||||
|
||||
/**
|
||||
* Get the description of this accessible.
|
||||
*/
|
||||
|
@ -393,7 +393,6 @@ nsAccessNodeWrap::MakeAccessNode(nsINode *aNode)
|
||||
if (!newNode)
|
||||
return NULL;
|
||||
|
||||
newNode->Init();
|
||||
iNode = static_cast<ISimpleDOMNode*>(newNode);
|
||||
iNode->AddRef();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user