Summary: | Make LibWebRTCProvider port agnostic again after r215424 | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alejandro G. Castro <alex> | ||||||||||||||||||||||||||||
Component: | WebRTC | Assignee: | Alejandro G. Castro <alex> | ||||||||||||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||||||||||||
Severity: | Normal | CC: | commit-queue, webkit-bug-importer, youennf | ||||||||||||||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||||
Bug Depends on: | 183244 | ||||||||||||||||||||||||||||||
Bug Blocks: | 178860 | ||||||||||||||||||||||||||||||
Attachments: |
|
Description
Alejandro G. Castro
2018-02-23 05:21:13 PST
Created attachment 334522 [details]
Patch
Created attachment 334523 [details]
Patch
Created attachment 334527 [details]
Patch
Created attachment 334599 [details]
Patch
Created attachment 334601 [details]
Patch
Created attachment 334602 [details]
Patch
Created attachment 334604 [details]
Patch
Created attachment 334736 [details]
Patch
Comment on attachment 334736 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334736&action=review > Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:49 > +#if PLATFORM(COCOA) We probably want to keep the case of COCOA platform that would not use libwebrtc for now. So we probably want to keep the USE(LIBWEBRTC) check here. Can we move this implementation of LibWebRTCProvider::create to LibWebRTCProviderCocoa.cpp as is? That could remove the need to update LibWebRTCProviderCocoa class. (In reply to youenn fablet from comment #9) > Comment on attachment 334736 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=334736&action=review > > > Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:49 > > +#if PLATFORM(COCOA) > > We probably want to keep the case of COCOA platform that would not use > libwebrtc for now. > So we probably want to keep the USE(LIBWEBRTC) check here. > Right, I'll kepp that. > Can we move this implementation of LibWebRTCProvider::create to > LibWebRTCProviderCocoa.cpp as is? > That could remove the need to update LibWebRTCProviderCocoa class. I'll try it. Thanks for the review! Created attachment 334806 [details]
Patch for landing
Comment on attachment 334806 [details] Patch for landing Clearing flags on attachment: 334806 Committed r229130: <https://trac.webkit.org/changeset/229130> All reviewed patches have been landed. Closing bug. Re-opened since this is blocked by bug 183244 Created attachment 334813 [details]
Patch
Moving the LibWebRTCProvider:create out of the provider file caused the compilation issues for the platforms that are not using glib or cocoa. I'm adding it with an ifdef for the other platforms to try to fix it. Created attachment 334814 [details]
Patch
Created attachment 334816 [details]
Patch
Created attachment 334884 [details]
Patch for landing
Comment on attachment 334884 [details] Patch for landing Clearing flags on attachment: 334884 Committed r229169: <https://trac.webkit.org/changeset/229169> All reviewed patches have been landed. Closing bug. |