Bug 200879

Summary: PendingActivationMediaStream does not need to be refcounted
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue, eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch for landing none

Description youenn fablet 2019-08-19 01:01:33 PDT
PendingActivationMediaStream does not need to be refcounted
Comment 1 youenn fablet 2019-08-19 01:02:49 PDT
Created attachment 376673 [details]
Patch
Comment 2 youenn fablet 2019-08-19 01:26:59 PDT
Will use WTF::makeUnique.
Comment 3 youenn fablet 2019-08-19 07:51:52 PDT
Comment on attachment 376673 [details]
Patch

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

> Source/WebCore/Modules/mediastream/UserMediaRequest.cpp:398
> +    m_pendingActivationMediaStream = nullptr;

No need to do this anymore sine observer handles this properly.
Comment 4 youenn fablet 2019-08-19 08:19:06 PDT
Created attachment 376686 [details]
Patch
Comment 5 youenn fablet 2019-08-19 09:36:04 PDT
Created attachment 376692 [details]
Patch
Comment 6 WebKit Commit Bot 2019-08-19 11:28:19 PDT
Comment on attachment 376692 [details]
Patch

Rejecting attachment 376692 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 376692, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in Source/WebCore/ChangeLog is not at the top of the file.

Full output: https://webkit-queues.webkit.org/results/12941867
Comment 7 youenn fablet 2019-08-20 01:36:52 PDT
Created attachment 376752 [details]
Patch for landing
Comment 8 WebKit Commit Bot 2019-08-20 02:39:31 PDT
Comment on attachment 376752 [details]
Patch for landing

Clearing flags on attachment: 376752

Committed r248896: <https://trac.webkit.org/changeset/248896>
Comment 9 WebKit Commit Bot 2019-08-20 02:39:33 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2019-08-20 02:40:18 PDT
<rdar://problem/54504227>