Bug 208637

Summary: Add logging support for capture sources in GPUProcess
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, ews-watchlist, glenn, hta, jer.noble, philipj, sergio, tommyw, 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 none

Description youenn fablet 2020-03-05 05:46:36 PST
Add logging support for capture sources in GPUProcess
Comment 1 youenn fablet 2020-03-05 05:49:05 PST
Created attachment 392559 [details]
Patch
Comment 2 youenn fablet 2020-03-05 05:51:54 PST
Created attachment 392560 [details]
Patch
Comment 3 youenn fablet 2020-03-05 05:58:56 PST
Created attachment 392561 [details]
Patch
Comment 4 Eric Carlson 2020-03-05 06:19:58 PST
Comment on attachment 392561 [details]
Patch

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

> Source/WebCore/platform/mediastream/RealtimeVideoSource.cpp:160
> +    source->setLogger(logger(), source.ptr());

We're not supposed use pointers for log identifiers. You could use childLogIdentifier(...) like we do for AudioContext and MediaSourcePrivateAVFObjC.

> Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:209
> +        source->setLogger(m_connectionProxy->logger(), source.ptr());

Ditto.
Comment 5 youenn fablet 2020-03-05 08:24:27 PST
Created attachment 392573 [details]
Patch
Comment 6 WebKit Commit Bot 2020-03-05 09:13:06 PST
Comment on attachment 392573 [details]
Patch

Clearing flags on attachment: 392573

Committed r257919: <https://trac.webkit.org/changeset/257919>
Comment 7 WebKit Commit Bot 2020-03-05 09:13:08 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2020-03-05 09:14:16 PST
<rdar://problem/60086438>