Closed
Bug 405756
Opened 17 years ago
Closed 17 years ago
be careful with coordinateType
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
19.53 KB,
patch
|
evan.yan
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #290507 -
Flags: review?(aaronleventhal)
Assignee | ||
Comment 1•17 years ago
|
||
eventually I forgot to make a changes for getImageBounds on linux side.
Updated•17 years ago
|
Attachment #290507 -
Flags: review?(aaronleventhal)
Attachment #290507 -
Flags: review?(Evan.Yan)
Attachment #290507 -
Flags: review+
Assignee | ||
Comment 2•17 years ago
|
||
Attachment #290507 -
Attachment is obsolete: true
Attachment #290555 -
Flags: review?(Evan.Yan)
Attachment #290507 -
Flags: review?(Evan.Yan)
Assignee | ||
Comment 3•17 years ago
|
||
forgot to remove "nsresult rv = "
Comment on attachment 290555 [details] [diff] [review]
patch2
nit: it would be good to use the same arguments type for ConvertToScreenCoords() and ConvertScreenCoordsTo(), i.e. let both of them use aCoords for out parameter or use *aX/*aY.
Attachment #290555 -
Flags: review?(Evan.Yan) → review+
Assignee | ||
Comment 5•17 years ago
|
||
(In reply to comment #4)
> (From update of attachment 290555 [details] [diff] [review])
> nit: it would be good to use the same arguments type for
> ConvertToScreenCoords() and ConvertScreenCoordsTo(), i.e. let both of them use
> aCoords for out parameter or use *aX/*aY.
>
ConvertScreenCoordsTo() is used with out arguments but ConvertToScreenCoords() is used with in arguments. Therefore for ConvertScreenCoordsTo is good to pass *aX and *aY (it safes some code) but it's not good to modify in arugments in the case of ConvertToScreenCoords. If you're fine then I would like to save this.
Assignee | ||
Updated•17 years ago
|
Attachment #290555 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #290555 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 6•17 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•