Closed
Bug 1247393
Opened 10 years ago
Closed 10 years ago
use arrays of UniquePtr in ChannelEventQueue
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla47
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | fixed |
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(1 file)
|
9.35 KB,
patch
|
mcmanus
:
review+
|
Details | Diff | Splinter Review |
UniquePtr is nicer/more standard than nsAutoPtr, and using UniquePtr typically
makes the ownership passing more obvious to boot.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8718054 -
Flags: review?(mcmanus)
Comment 2•10 years ago
|
||
Comment on attachment 8718054 [details] [diff] [review]
use arrays of UniquePtr in ChannelEventQueue
Review of attachment 8718054 [details] [diff] [review]:
-----------------------------------------------------------------
thanks
::: netwerk/ipc/ChannelEventQueue.h
@@ +82,5 @@
> inline void MaybeFlushQueue();
> void FlushQueue();
> inline void CompleteResume();
>
> + nsTArray<UniquePtr<ChannelEvent>> mEventQueue;
the (windows?) compiler doesn't die anymore if you don't do "> >" ?
Attachment #8718054 -
Flags: review?(mcmanus) → review+
Comment 4•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•