Index: Source/modules/webaudio/ScriptProcessorNode.cpp |
diff --git a/Source/modules/webaudio/ScriptProcessorNode.cpp b/Source/modules/webaudio/ScriptProcessorNode.cpp |
index f22371b224e8bad6160836672917618d3cb6703a..03aeaef515e4e334964cc5ff96aa427042367b5e 100644 |
--- a/Source/modules/webaudio/ScriptProcessorNode.cpp |
+++ b/Source/modules/webaudio/ScriptProcessorNode.cpp |
@@ -46,7 +46,7 @@ static size_t chooseBufferSize() |
// Choose a buffer size based on the audio hardware buffer size. Arbitarily make it a power of |
// two that is 4 times greater than the hardware buffer size. |
// FIXME: What is the best way to choose this? |
- size_t hardwareBufferSize = WebKit::Platform::current()->audioHardwareBufferSize(); |
+ size_t hardwareBufferSize = blink::Platform::current()->audioHardwareBufferSize(); |
size_t bufferSize = 1 << static_cast<unsigned>(log2(4 * hardwareBufferSize) + 0.5); |
if (bufferSize < 256) |