This repository was archived by the owner on Jun 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
WebProcess/InjectedBundle Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ 2020-09-10 Chris Dumez <
[email protected] >
2
+
3
+ Unreviewed Windows build fix after r266842.
4
+
5
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
6
+ (WebKit::InjectedBundle::setHardwareSampleRateOverride):
7
+
1
8
2020-09-10 Sihui Liu <
[email protected] >
2
9
3
10
REGRESSION(r266634): [macOS release] 4 layout tests became flaky failures
Original file line number Diff line number Diff line change 55
55
#include < JavaScriptCore/JSLock.h>
56
56
#include < WebCore/ApplicationCache.h>
57
57
#include < WebCore/ApplicationCacheStorage.h>
58
- #include < WebCore/AudioDestination.h>
59
58
#include < WebCore/CommonVM.h>
60
59
#include < WebCore/Document.h>
61
60
#include < WebCore/Frame.h>
87
86
#include " WebNotificationManager.h"
88
87
#endif
89
88
89
+ #if ENABLE(WEB_AUDIO)
90
+ #include < WebCore/AudioDestination.h>
91
+ #endif
92
+
90
93
namespace WebKit {
91
94
using namespace WebCore ;
92
95
using namespace JSC ;
@@ -400,7 +403,11 @@ void InjectedBundle::resetOriginAccessAllowLists()
400
403
401
404
void InjectedBundle::setHardwareSampleRateOverride (Optional<float > sampleRate)
402
405
{
406
+ #if ENABLE(WEB_AUDIO)
403
407
AudioDestination::setHardwareSampleRateOverride (sampleRate);
408
+ #else
409
+ UNUSED_PARAM (sampleRate);
410
+ #endif
404
411
}
405
412
406
413
void InjectedBundle::setAsynchronousSpellCheckingEnabled (WebPageGroupProxy* pageGroup, bool enabled)
You can’t perform that action at this time.
0 commit comments