Closed
Bug 664083
Opened 13 years ago
Closed 13 years ago
warning in nsHTMLTableAccessible.cpp:325
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla7
People
(Reporter: tbsaunde, Assigned: tbsaunde)
Details
Attachments
(1 file)
1.81 KB,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #539134 -
Flags: review?(surkov.alexander)
Comment 2•13 years ago
|
||
Trevor, please give a warning message, otherwise it may be hard to understand what you fix here.
Comment 3•13 years ago
|
||
Comment on attachment 539134 [details] [diff] [review] patch Review of attachment 539134 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/src/html/nsHTMLTableAccessible.cpp @@ +321,1 @@ > I'd suggest to use enum (you should give it a name) instead PRInt32 and do PRUint32 headerRole = aRowOrColumnHeaderCell == nsAccUtils::eRowHeaderCells ? nsIAccessibleRole::ROLE_ROWHEADER : nsIAccessibleRole::ROLE_COLUMNHEADER;
Attachment #539134 -
Flags: review?(surkov.alexander) → review+
Updated•13 years ago
|
Assignee: nobody → trev.saunders
Assignee | ||
Comment 4•13 years ago
|
||
(In reply to comment #3) > Comment on attachment 539134 [details] [diff] [review] [review] > patch > > Review of attachment 539134 [details] [diff] [review] [review]: > ----------------------------------------------------------------- > > ::: accessible/src/html/nsHTMLTableAccessible.cpp > @@ +321,1 @@ > > > > I'd suggest to use enum (you should give it a name) instead PRInt32 and do > PRUint32 headerRole = aRowOrColumnHeaderCell == nsAccUtils::eRowHeaderCells ? > nsIAccessibleRole::ROLE_ROWHEADER : nsIAccessibleRole::ROLE_COLUMNHEADER; yeah, that would be nice. I was thinking about changing the parameter to an enum and returning a pointer to the array instead of the out param in bug 648265. How does that sound?
Comment 5•13 years ago
|
||
not sure how you treat "a pointer to the array" but array as return value vs out argument is fine with me.
Assignee | ||
Comment 6•13 years ago
|
||
landed http://hg.mozilla.org/mozilla-central/rev/b06efa3e0073
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → mozilla7
Assignee | ||
Comment 7•13 years ago
|
||
landed http://hg.mozilla.org/mozilla-central/rev/06c3225b1656
You need to log in
before you can comment on or make changes to this bug.
Description
•