Bug 163888

Summary: MediaEndpointConfiguration does not need to be refcounted
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: adam.bergkvist, alex, commit-queue, eric.carlson, pnormand
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description youenn fablet 2016-10-24 07:02:33 PDT
Move operations should be sufficient
Comment 1 youenn fablet 2016-10-24 07:10:17 PDT
Created attachment 292607 [details]
Patch
Comment 2 Eric Carlson 2016-10-24 08:37:53 PDT
Comment on attachment 292607 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=292607&action=review

> Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp:629
> +    m_mediaEndpoint->setConfiguration({ WTFMove(iceServers), configuration.iceTransportPolicy(), configuration.bundlePolicy() });

You may need to add a IceServerInfo constructor because some of the linux bots still use GCC 4.9 (if it fails, it won't be caught by the EWS bots). See the comments in bug163255 and bug162147.
Comment 3 youenn fablet 2016-10-24 14:44:50 PDT
(In reply to comment #2)
> Comment on attachment 292607 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=292607&action=review
> 
> > Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp:629
> > +    m_mediaEndpoint->setConfiguration({ WTFMove(iceServers), configuration.iceTransportPolicy(), configuration.bundlePolicy() });
> 
> You may need to add a IceServerInfo constructor because some of the linux
> bots still use GCC 4.9 (if it fails, it won't be caught by the EWS bots).
> See the comments in bug163255 and bug162147.

Thanks for the pointer, I will update the patch accordingly at landing time or in a future version.
I was waiting for the GTK bot before marking patch as r? but it seems gtk bot has some issues.
Comment 4 youenn fablet 2016-10-25 03:01:04 PDT
Created attachment 292741 [details]
Patch
Comment 5 youenn fablet 2016-10-25 05:01:51 PDT
Created attachment 292745 [details]
Patch
Comment 6 WebKit Commit Bot 2016-10-25 08:05:28 PDT
Comment on attachment 292745 [details]
Patch

Clearing flags on attachment: 292745

Committed r207818: <http://trac.webkit.org/changeset/207818>
Comment 7 WebKit Commit Bot 2016-10-25 08:05:32 PDT
All reviewed patches have been landed.  Closing bug.