Closed
Bug 1147168
Opened 10 years ago
Closed 10 years ago
IPC Proxy for Selection
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
| Tracking | Status | |
|---|---|---|
| firefox39 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
Details
Attachments
(2 files)
|
15.45 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
|
15.45 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8582719 -
Flags: review?(tbsaunde+mozbugs)
Comment 1•10 years ago
|
||
Comment on attachment 8582719 [details] [diff] [review]
v1
>+ nsAutoTArray<uint64_t, 10> itemIDs;
>+ unused << mDoc->SendSelectedItems(mID, &itemIDs);
>+ aSelectedItems->SetCapacity(itemIDs.Length());
>+ for (uint32_t i = 0; i < itemIDs.Length(); ++i) {
size_t?
>+ aSelectedItems->AppendElement(mDoc->GetAccessible(itemIDs[i]));
I wonder if it makes sense to add a function to do this array conversion.
Attachment #8582719 -
Flags: review?(tbsaunde+mozbugs) → review+
| Assignee | ||
Comment 2•10 years ago
|
||
Yeah, I think I should add a helper for the array conversion and then convert the existing
cases to use it.
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•