Closed
Bug 741702
Opened 12 years ago
Closed 12 years ago
stop using QueryInterface in CAccessibleHyperlink
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 767264
People
(Reporter: surkov, Assigned: nickyekaiqi)
References
Details
(Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++])
Attachments
(1 file, 2 obsolete files)
10.78 KB,
patch
|
surkov
:
feedback-
|
Details | Diff | Splinter Review |
same as bug 736252: 1) do static_cast<nsAccessible*>(this) instead do_QueryObject(this) 2) rename CAccessibleHyperlink to ia2AccessibleHyperlink
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Ye Kaiqi from comment #1) > Want to get assigned done
Assignee: nobody → nickyekaiqi
(In reply to alexander :surkov from comment #2) > done Thanks!
Attachment #613900 -
Flags: feedback?
Reporter | ||
Comment 5•12 years ago
|
||
Comment on attachment 613900 [details] [diff] [review] patch v1 Review of attachment 613900 [details] [diff] [review]: ----------------------------------------------------------------- remove QueryInterface from header ::: accessible/src/msaa/CAccessibleHyperlink.cpp @@ +53,5 @@ > { > *ppv = NULL; > > if (IID_IAccessibleHyperlink == iid) { > + nsRefPtr<nsAccessible> thisObj = static_cast<nsAccessible*>(this); no nsRefPtr pls and everywhere below
Attachment #613900 -
Flags: feedback?
(In reply to alexander :surkov from comment #5) Thank you Alex for your help. I am trying to read the doc for nsRefPtr and other pointers to understand more. Hope in the future I will make fewer mistakes.
Attachment #613900 -
Attachment is obsolete: true
Attachment #613950 -
Flags: feedback?
Reporter | ||
Comment 8•12 years ago
|
||
(In reply to Ye Kaiqi from comment #6) > (In reply to alexander :surkov from comment #5) > Thank you Alex for your help. I am trying to read the doc for nsRefPtr and > other pointers to understand more. Hope in the future I will make fewer > mistakes. Yeah, sure. Perhaps it makes sense to build the patch before asking for feedback so you'll be told about mistasks by compiler :) Please try your last patch.
Reporter | ||
Comment 9•12 years ago
|
||
Comment on attachment 613950 [details] [diff] [review] patch v2 >--- a/accessible/src/msaa/CAccessibleHyperlink.cpp >+++ b/accessible/src/msaa/CAccessibleHyperlink.cpp btw, please rename CAccessibleHyperlink files into ia2AccessibleHyperlink. Don't forget to fix Makefile.in
Attachment #613950 -
Flags: feedback?
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #613950 -
Attachment is obsolete: true
Attachment #614015 -
Flags: feedback-
Attachment #614015 -
Flags: feedback- → feedback?
Attachment #614015 -
Flags: feedback? → feedback?(surkov.alexander)
Reporter | ||
Comment 11•12 years ago
|
||
Comment on attachment 614015 [details] [diff] [review] patch v3 you just remove those files (but you need to "hg rename" them)
Attachment #614015 -
Flags: feedback?(surkov.alexander) → feedback-
Assignee | ||
Comment 12•12 years ago
|
||
(In reply to alexander :surkov from comment #11) > Comment on attachment 614015 [details] [diff] [review] > patch v3 > > you just remove those files (but you need to "hg rename" them) Hi, Alex. It seems that my "hg rename accessible/src/msaa/CAccessibleHyperlink.h accessible/src/msaa/ia2AccessibleHyperlink.h" does not find the file. I asked some people on irc, but still cannot fix it. :(
Reporter | ||
Comment 13•12 years ago
|
||
(In reply to Ye Kaiqi from comment #12) > It seems that my "hg rename accessible/src/msaa/CAccessibleHyperlink.h > accessible/src/msaa/ia2AccessibleHyperlink.h" does not find the file. I > asked some people on irc, but still cannot fix it. :( I think this is because you removed them already. I'd recommend to start new patch since nothing useful excpet Makefile.in changes in existing patch (or alternatively try hg add)
Assignee | ||
Comment 14•12 years ago
|
||
> I think this is because you removed them already. I'd recommend to start new
> patch since nothing useful excpet Makefile.in changes in existing patch (or
> alternatively try hg add)
OK. I am trying that.
Reporter | ||
Comment 15•12 years ago
|
||
was fixed by duping bug 767264
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•