And it should be a struct probably
Created attachment 293013 [details] Patch
Created attachment 293014 [details] Patch
Created attachment 293019 [details] Patch
Comment on attachment 293019 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293019&action=review > Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h:46 > -class PeerMediaDescription; > +struct PeerMediaDescription; We normally put struct forward declarations in a separate paragraph, rather than sorting them in with the classes. > Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h:49 > -typedef Vector<RefPtr<PeerMediaDescription>> MediaDescriptionVector; > +typedef Vector<PeerMediaDescription> MediaDescriptionVector; In code we are touching we want to move from typedef to using. > Source/WebCore/platform/mediastream/PeerMediaDescription.h:43 > public: No need for "public:" in a struct. > Source/WebCore/platform/mediastream/PeerMediaDescription.h:52 > + String mode { "sendrecv" }; Slightly nicer to use { ASCIILiteral { "sendrecv" } }. > Source/WebCore/platform/mediastream/openwebrtc/MediaEndpointOwr.h:46 > -class PeerMediaDescription; > +struct PeerMediaDescription; Same comment about putting a struct in a separate paragraph.
Created attachment 293137 [details] Patch for landing
Comment on attachment 293137 [details] Patch for landing Clearing flags on attachment: 293137 Committed r208043: <http://trac.webkit.org/changeset/208043>
All reviewed patches have been landed. Closing bug.
Thanks for the review. (In reply to comment #4) > Comment on attachment 293019 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=293019&action=review > > > Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h:46 > > -class PeerMediaDescription; > > +struct PeerMediaDescription; > > We normally put struct forward declarations in a separate paragraph, rather > than sorting them in with the classes. OK > > Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h:49 > > -typedef Vector<RefPtr<PeerMediaDescription>> MediaDescriptionVector; > > +typedef Vector<PeerMediaDescription> MediaDescriptionVector; > > In code we are touching we want to move from typedef to using. OK > > Source/WebCore/platform/mediastream/PeerMediaDescription.h:43 > > public: > > No need for "public:" in a struct. Done > > Source/WebCore/platform/mediastream/PeerMediaDescription.h:52 > > + String mode { "sendrecv" }; > > Slightly nicer to use { ASCIILiteral { "sendrecv" } }. Done > > Source/WebCore/platform/mediastream/openwebrtc/MediaEndpointOwr.h:46 > > -class PeerMediaDescription; > > +struct PeerMediaDescription; > > Same comment about putting a struct in a separate paragraph. OK