Summary: | Media Session: let UI clients change the volume of the focused media element | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matt Rajca <mrajca> | ||||
Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | conrad_shultz, eric.carlson, mrajca, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Other | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 145411 | ||||||
Attachments: |
|
Description
Matt Rajca
2015-08-20 21:42:13 PDT
Created attachment 259583 [details]
Patch
Comment on attachment 259583 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259583&action=review Looks good to me. > Source/WebCore/page/Page.cpp:1232 > + ExceptionCode code; > + element->setVolume(volume, code); Nit: you should use ASSERT_NO_EXCEPTION here. Committed r188775: <http://trac.webkit.org/changeset/188775> (In reply to comment #3) > Comment on attachment 259583 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=259583&action=review > > Looks good to me. > > > Source/WebCore/page/Page.cpp:1232 > > + ExceptionCode code; > > + element->setVolume(volume, code); > > Nit: you should use ASSERT_NO_EXCEPTION here. Done. |