Closed
Bug 869845
Opened 11 years ago
Closed 11 years ago
FirePlatformEvent shouldn't be virtual
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: surkov, Assigned: xuku)
References
(Blocks 1 open bug)
Details
(Whiteboard: [good first bug][mentor=surkov.alexander@gmail.com][lang=c++])
Attachments
(1 file, 1 obsolete file)
7.25 KB,
patch
|
Details | Diff | Splinter Review |
Comment 1•11 years ago
|
||
why can't we just put all that code in HandleAccevent()?
Reporter | ||
Comment 2•11 years ago
|
||
it seems ok
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #749908 -
Flags: review?(trev.saunders)
Comment 5•11 years ago
|
||
Comment on attachment 749908 [details] [diff] [review] Takes FirePlatformEvent() code and makes it inline at the only call site per platform, removes declarations and definitions of the function. > AccessibleWrap::HandleAccEvent(AccEvent* aEvent) > { > NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT; > > nsresult rv = Accessible::HandleAccEvent(aEvent); > NS_ENSURE_SUCCESS(rv, rv); > >- return FirePlatformEvent(aEvent); >- >- NS_OBJC_END_TRY_ABORT_BLOCK_NSRESULT; >-} >- >-nsresult >-AccessibleWrap::FirePlatformEvent(AccEvent* aEvent) >-{ > NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT; I think you can remove this and then you won't need the second one at the end of the function.
Attachment #749908 -
Flags: review?(trev.saunders) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #749908 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c66d8ea1b2f1
Keywords: checkin-needed
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c66d8ea1b2f1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•