Changeset 266883 in webkit


Ignore:
Timestamp:
Sep 10, 2020 12:20:33 PM (4 years ago)
Author:
Chris Dumez
Message:

Unreviewed Windows build fix after r266842.

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::setHardwareSampleRateOverride):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r266847 r266883  
     12020-09-10  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed Windows build fix after r266842.
     4
     5        * WebProcess/InjectedBundle/InjectedBundle.cpp:
     6        (WebKit::InjectedBundle::setHardwareSampleRateOverride):
     7
    182020-09-10  Sihui Liu  <sihui_liu@apple.com>
    29
  • trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp

    r266842 r266883  
    5656#include <WebCore/ApplicationCache.h>
    5757#include <WebCore/ApplicationCacheStorage.h>
    58 #include <WebCore/AudioDestination.h>
    5958#include <WebCore/CommonVM.h>
    6059#include <WebCore/Document.h>
     
    8887#endif
    8988
     89#if ENABLE(WEB_AUDIO)
     90#include <WebCore/AudioDestination.h>
     91#endif
     92
    9093namespace WebKit {
    9194using namespace WebCore;
     
    401404void InjectedBundle::setHardwareSampleRateOverride(Optional<float> sampleRate)
    402405{
     406#if ENABLE(WEB_AUDIO)
    403407    AudioDestination::setHardwareSampleRateOverride(sampleRate);
     408#else
     409    UNUSED_PARAM(sampleRate);
     410#endif
    404411}
    405412
Note: See TracChangeset for help on using the changeset viewer.