[Mac] Crash in MediaPlayer::rateChanged()
Created attachment 225555 [details] Patch
Attachment 225555 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:117: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:135: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 225555 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=225555&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:2142 > + if (!weakThis) > + return; > + function(); This needs a comment. The technique of checking weakThis because we know that’s a precondition for function still being OK to call is subtle. Not the good kind of subtle for programming.
Committed r165000: <http://trac.webkit.org/changeset/165000>