Closed Bug 1224436 Opened 9 years ago Closed 9 years ago

Remove enumerator use in ServiceWorkerManager.cpp

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: khuey, Assigned: khuey)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Attachment #8686984 - Flags: review?(n.nethercote)
Comment on attachment 8686984 [details] [diff] [review]
Patch

Review of attachment 8686984 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/workers/ServiceWorkerManager.cpp
@@ +2093,2 @@
>  
> +    auto& data = iter.Data();

I'd use |nsAutoPtr<PendingReadyPromise>&| instead of |auto&| here because the type is not at all obvious.

Also, |data| is not a good name. Maybe |pendingReadyPromise| instead?
Attachment #8686984 - Flags: review?(n.nethercote) → review+
https://hg.mozilla.org/mozilla-central/rev/e69fd2e6d44e
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: