Changeset 182255 in webkit


Ignore:
Timestamp:
Apr 1, 2015, 2:26:30 PM (10 years ago)
Author:
eric.carlson@apple.com
Message:

Another attempt to fixi the iOS build after r182240.

Reviewed by Dean Jackson.

  • platform/graphics/MediaPlaybackTarget.h:

(WebCore::MediaPlaybackTarget::hasActiveRoute):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r182250 r182255  
     12015-04-01  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Another attempt to fixi the iOS build after r182240.
     4
     5        Reviewed by Dean Jackson.
     6
     7        * platform/graphics/MediaPlaybackTarget.h:
     8        (WebCore::MediaPlaybackTarget::hasActiveRoute):
     9
    1102015-04-01  Eric Carlson  <eric.carlson@apple.com>
    211
  • trunk/Source/WebCore/platform/graphics/MediaPlaybackTarget.h

    r182250 r182255  
    3131#include <wtf/RetainPtr.h>
    3232
     33#if PLATFORM(COCOA)
    3334OBJC_CLASS NSKeyedArchiver;
    3435OBJC_CLASS NSKeyedUnarchiver;
    3536OBJC_CLASS AVOutputContext;
     37#endif
    3638
    3739namespace WebCore {
     
    4143    virtual ~MediaPlaybackTarget() { }
    4244
    43 #if PLATFORM(MAC)
     45#if PLATFORM(COCOA)
    4446    WEBCORE_EXPORT MediaPlaybackTarget(AVOutputContext *context = nil) { m_devicePickerContext = context; }
    4547
     
    4951    void setDevicePickerContext(AVOutputContext *context) { m_devicePickerContext = context; }
    5052    AVOutputContext *devicePickerContext() const { return m_devicePickerContext.get(); }
     53
     54#if PLATFORM(IOS)
     55    bool hasActiveRoute() const { return false; }
     56#else
    5157    bool hasActiveRoute() const;
     58#endif
     59
    5260#else
    5361    void setDevicePickerContext(AVOutputContext *) { }
     
    5765
    5866protected:
    59 #if PLATFORM(MAC)
     67#if PLATFORM(COCOA)
    6068    RetainPtr<AVOutputContext> m_devicePickerContext;
    6169#endif
Note: See TracChangeset for help on using the changeset viewer.