Fix the iOS build after https://trac.webkit.org/changeset/174353.
authoradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2014 18:56:44 +0000 (18:56 +0000)
committeradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2014 18:56:44 +0000 (18:56 +0000)
* platform/audio/ios/AudioDestinationIOS.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174355 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/audio/ios/AudioDestinationIOS.h

index b01c46c..f692867 100644 (file)
@@ -1,5 +1,11 @@
 2014-10-06  Ada Chan  <adachan@apple.com>
 
+        Fix the iOS build after https://trac.webkit.org/changeset/174353.
+
+        * platform/audio/ios/AudioDestinationIOS.h:
+
+2014-10-06  Ada Chan  <adachan@apple.com>
+
         Implement Page::isPlayingAudio().
         https://bugs.webkit.org/show_bug.cgi?id=137218
 
index 747e80e..3fdeffe 100644 (file)
@@ -62,6 +62,7 @@ private:
     virtual bool overrideBackgroundPlaybackRestriction() const { return false; }
     virtual void pausePlayback() override { stop(); }
     virtual void resumePlayback() override { start(); }
+    virtual bool hasMediaCharacteristics(MediaSession::MediaCharacteristics characteristics) const override { return characteristics == MediaSession::MediaCharacteristicAudible; }
 
     // DefaultOutputUnit callback
     static OSStatus inputProc(void* userData, AudioUnitRenderActionFlags*, const AudioTimeStamp*, UInt32 busNumber, UInt32 numberOfFrames, AudioBufferList* ioData);