mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1167604 - don't hide ProxyAccessible::Parent() with DocAccessibleParent::Parent r=lsocks
This commit is contained in:
parent
a5c55ae6ad
commit
561ae2eecc
@ -32,7 +32,7 @@ public:
|
||||
{
|
||||
MOZ_COUNT_DTOR_INHERITED(DocAccessibleParent, ProxyAccessible);
|
||||
MOZ_ASSERT(mChildDocs.Length() == 0);
|
||||
MOZ_ASSERT(!mParentDoc);
|
||||
MOZ_ASSERT(!ParentDoc());
|
||||
}
|
||||
|
||||
/*
|
||||
@ -55,7 +55,7 @@ public:
|
||||
void Unbind()
|
||||
{
|
||||
mParent = nullptr;
|
||||
mParentDoc->mChildDocs.RemoveElement(this);
|
||||
ParentDoc()->mChildDocs.RemoveElement(this);
|
||||
mParentDoc = nullptr;
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ public:
|
||||
* Return the main processes representation of the parent document (if any)
|
||||
* of the document this object represents.
|
||||
*/
|
||||
DocAccessibleParent* Parent() const { return mParentDoc; }
|
||||
DocAccessibleParent* ParentDoc() const { return mParentDoc; }
|
||||
|
||||
/*
|
||||
* Called when a document in a content process notifies the main process of a
|
||||
|
Loading…
Reference in New Issue
Block a user