Closed
Bug 1167396
Opened 9 years ago
Closed 9 years ago
Make ProtocolCloneContext::mContentParent a smart pointer
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
People
(Reporter: nika, Assigned: nika)
Details
Attachments
(1 file, 2 obsolete files)
Assignee | ||
Comment 1•9 years ago
|
||
Comment on attachment 8609015 [details] [diff] [review] Make ProtocolCloneContext::mContentParent a smart pointer Review of attachment 8609015 [details] [diff] [review]: ----------------------------------------------------------------- This is probably not needed since ProtocolCloneContext should only be used on the stack I think. But it probably can't hurt. ::: ipc/glue/ProtocolUtils.cpp @@ +25,5 @@ > > namespace mozilla { > namespace ipc { > > +ProtocolCloneContext::ProtocolCloneContext() : mContentParent(nullptr) Nit: Smart pointers don't need to be initialized to null.
Assignee | ||
Comment 3•9 years ago
|
||
Removed the unnecessary initialization of mContentParent to nullptr
Attachment #8609015 -
Attachment is obsolete: true
Attachment #8609397 -
Flags: review?(bent.mozilla)
Comment on attachment 8609397 [details] [diff] [review] Make ProtocolCloneContext::mContentParent a smart pointer Review of attachment 8609397 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! ::: ipc/glue/ProtocolUtils.cpp @@ +25,5 @@ > > namespace mozilla { > namespace ipc { > > +ProtocolCloneContext::ProtocolCloneContext() : mNeckoParent(nullptr) Nit: Initializer list on its own line please, e.g.: ProtocolCloneContext::ProtocolCloneContext() : mNeckoParent(nullptr)
Attachment #8609397 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Move initializer list to it's own line
Attachment #8609397 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0db3b7dbcdf6
Assignee: nobody → michael
You need to log in
before you can comment on or make changes to this bug.
Description
•