Closed
Bug 813019
Opened 13 years ago
Closed 13 years ago
get rid of AccMutationEvent::mNode
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: surkov, Assigned: catalinn.iordache)
References
(Blocks 1 open bug)
Details
(Whiteboard: [good first bug][mentor=surkov.alexander@gmail.com][lang=c++])
Attachments
(1 file, 1 obsolete file)
1.74 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
spun off bug 678454 comment #12:
Replace document->GetContainerAccessible(aEvent->mNode); on aEvent->mAccessible->Parent(). We can do that because CreateTextChangeEventFor is called before we mutate the tree.
![]() |
Assignee | |
Comment 1•13 years ago
|
||
Hi. I'm new here and I would like to work at this bug.
![]() |
Assignee | |
Comment 2•13 years ago
|
||
In which file I have to look for the GetContainerAccessible ?
Reporter | ||
Comment 3•13 years ago
|
||
(In reply to Catalin Iordache from comment #2)
> In which file I have to look for the GetContainerAccessible ?
you could use mxr tool to search things (for example, http://mxr.mozilla.org/mozilla-central/search?string=document-%3EGetContainerAccessible%28aEvent-%3EmNode%29;)
thank you for taking it.
Assignee: nobody → catalinn.iordache
![]() |
Assignee | |
Comment 4•13 years ago
|
||
Replace document->GetContainerAccessible(aEvent->mNode) with : aEvent->mAccessible->Parent()
Attachment #692596 -
Flags: review?
Reporter | ||
Comment 5•13 years ago
|
||
Catalin, you need to ask someone for review when you upload the patch (here you will find a list of peers for each component - https://wiki.mozilla.org/Modules/All). In this case I'd recommend Trevor for review.
![]() |
Assignee | |
Updated•13 years ago
|
Attachment #692596 -
Flags: review? → review?(trev.saunders)
Comment 6•13 years ago
|
||
Comment on attachment 692596 [details]
replaces
> NotificationController::CreateTextChangeEventFor(AccMutationEvent* aEvent)
> {
> DocAccessible* document = aEvent->GetDocAccessible();
>- Accessible* container = document->GetContainerAccessible(aEvent->mNode);
>+ Accessible* container = aEvent->mAccessible->Parent();
you should remove the member from AccMutationEvent class as well.
Attachment #692596 -
Flags: review?(trev.saunders)
![]() |
Assignee | |
Comment 7•13 years ago
|
||
i can't find AccMutationEvent class. Any hints?
Comment 8•13 years ago
|
||
(In reply to Catalin Iordache from comment #7)
> i can't find AccMutationEvent class. Any hints?
accessible/src/base/AccEvent.h
![]() |
Assignee | |
Comment 9•13 years ago
|
||
mNode from AccEvent.h removed
Attachment #692596 -
Attachment is obsolete: true
Attachment #693718 -
Flags: review?(trev.saunders)
Updated•13 years ago
|
Attachment #693718 -
Flags: review?(trev.saunders) → review+
![]() |
Assignee | |
Updated•13 years ago
|
Attachment #693718 -
Flags: checkin?
Updated•13 years ago
|
Attachment #693718 -
Flags: checkin?
Comment 10•13 years ago
|
||
you should use [checkin-needed] white board field not checkin? flag.
Whiteboard: [good first bug][mentor=surkov.alexander@gmail.com][lang=c++] → [checkin-needed][good first bug][mentor=surkov.alexander@gmail.com][lang=c++]
Comment 11•13 years ago
|
||
Actually, the checkin-needed keyword is what you really want :)
Keywords: checkin-needed
Whiteboard: [checkin-needed][good first bug][mentor=surkov.alexander@gmail.com][lang=c++] → [good first bug][mentor=surkov.alexander@gmail.com][lang=c++]
Comment 12•13 years ago
|
||
Keywords: checkin-needed
![]() |
Assignee | |
Comment 13•13 years ago
|
||
sorry for my mistakes, next time I'll know what to do.
![]() |
||
Comment 14•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•