Changeset 171279 in webkit


Ignore:
Timestamp:
Jul 20, 2014 9:45:34 AM (10 years ago)
Author:
eric.carlson@apple.com
Message:

[iOS] ignore requests to set volume
https://bugs.webkit.org/show_bug.cgi?id=135081

Applied post-review comments from Darin Adler.

  • platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

(WebCore::MediaPlayerPrivateAVFoundationObjC::setVolume): Don't include unreachable

code on iOS.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r171264 r171279  
     12014-07-20  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [iOS] ignore requests to set volume
     4        https://bugs.webkit.org/show_bug.cgi?id=135081
     5
     6        Applied post-review comments from Darin Adler.
     7
     8        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
     9        (WebCore::MediaPlayerPrivateAVFoundationObjC::setVolume): Don't include unreachable
     10            code on iOS.
     11
    1122014-07-19  Mark Rowe  <mrowe@apple.com>
    213
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

    r171259 r171279  
    11281128{
    11291129#if PLATFORM(IOS)
     1130    UNUSED_PARAM(volume);
    11301131    return;
    1131 #endif
    1132 
     1132#else
    11331133    if (!metaDataAvailable())
    11341134        return;
    11351135
    11361136    [m_avPlayer.get() setVolume:volume];
     1137#endif
    11371138}
    11381139
Note: See TracChangeset for help on using the changeset viewer.