summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/platform/audio/AudioBus.cpp
diff options
context:
space:
mode:
authorharaken <haraken@chromium.org>2016-01-11 02:19:16 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-11 10:21:33 +0000
commite7fc592f19c6ffde1296ff01482013a0dd68a977 (patch)
tree28e287dec98b03930acd720c728c11ac4cd47581 /third_party/WebKit/Source/platform/audio/AudioBus.cpp
parent7fdccee949335fe31c65e24e47c4bd6da69b99d2 (diff)
downloadchromium_src-e7fc592f19c6ffde1296ff01482013a0dd68a977.zip
chromium_src-e7fc592f19c6ffde1296ff01482013a0dd68a977.tar.gz
chromium_src-e7fc592f19c6ffde1296ff01482013a0dd68a977.tar.bz2
Remove the WEB_AUDIO compile time flag
Web audio already has a runtime feature flag, so the WEB_AUDIO compile-time flag wouldn't be needed. Per the comment in https://codereview.chromium.org/604753003/#msg8, it looks safe to remove the compile-time flag. Web audio is the last feature that uses a compile-time flag. Once we remove WEB_AUDIO, we can remove a lot of code to support compile-time features from the IDL comipler. BUG=417628 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/1557363002 Cr-Commit-Position: refs/heads/master@{#368554}
Diffstat (limited to 'third_party/WebKit/Source/platform/audio/AudioBus.cpp')
-rw-r--r--third_party/WebKit/Source/platform/audio/AudioBus.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/third_party/WebKit/Source/platform/audio/AudioBus.cpp b/third_party/WebKit/Source/platform/audio/AudioBus.cpp
index 201d7cf..2b29e70 100644
--- a/third_party/WebKit/Source/platform/audio/AudioBus.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioBus.cpp
@@ -27,8 +27,6 @@
*/
#include "platform/audio/AudioBus.h"
-
-#if ENABLE(WEB_AUDIO)
#include "platform/audio/AudioFileReader.h"
#include "platform/audio/DenormalDisabler.h"
#include "platform/audio/SincResampler.h"
@@ -685,4 +683,3 @@ PassRefPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dat
} // namespace blink
-#endif // ENABLE(WEB_AUDIO)