Switch MediaPlayerPrivateAVFoundation to release logging
<rdar://problem/34335311>
Created attachment 320397 [details] Proposed patch.
Created attachment 320412 [details] Patch
Created attachment 320430 [details] Patch.
Comment on attachment 320430 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=320430&action=review r=me, with nit. > Source/WebCore/html/HTMLMediaElement.h:904 > + const PAL::Logger* mediaPlayerLogger() final { return &logger(); } Can we just make this a ref rather than a pointer? > Source/WebCore/platform/graphics/MediaPlayer.h:306 > + virtual const PAL::Logger* mediaPlayerLogger() { return nullptr; } You would just make this a pure virtual. (But that's ok; the HTMLMediaElement is the only MediaPlayerClient, currently.)
Comment on attachment 320430 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=320430&action=review >> Source/WebCore/html/HTMLMediaElement.h:904 >> + const PAL::Logger* mediaPlayerLogger() final { return &logger(); } > > Can we just make this a ref rather than a pointer? Fixed. >> Source/WebCore/platform/graphics/MediaPlayer.h:306 >> + virtual const PAL::Logger* mediaPlayerLogger() { return nullptr; } > > You would just make this a pure virtual. (But that's ok; the HTMLMediaElement is the only MediaPlayerClient, currently.) Fixed.
Created attachment 320481 [details] Patch for landing.
Created attachment 320550 [details] Patch for landing.
Comment on attachment 320550 [details] Patch for landing. Clearing flags on attachment: 320550 Committed r221929: <http://trac.webkit.org/changeset/221929>