[Webkit-unassigned] [Bug 147080] Media Session: add infrastructure for testing ducking

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 23 14:58:13 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=147080

Jer Noble <jer.noble at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #257387|review?                     |review+
              Flags|                            |

--- Comment #5 from Jer Noble <jer.noble at apple.com> ---
Comment on attachment 257387
  --> https://bugs.webkit.org/attachment.cgi?id=257387
Patch

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

> Source/WebCore/html/HTMLMediaElement.cpp:6486
> +    if (m_player)
> +        return m_player->volume();
> +    return 0;

This could be more concisely stated as:

return m_player ? m_player->volume() : 0;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150723/a04ce628/attachment.html>


More information about the webkit-unassigned mailing list