Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1791)

Unified Diff: Source/modules/webaudio/ScriptProcessorNode.cpp

Issue 469773002: Cleanup blink:: prefix usage in Source/core/modules/[mediasource/*.cpp to websockets/*.cpp] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/AsyncAudioDecoder.cpp ('k') | Source/modules/webdatabase/DatabaseBackendBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ScriptProcessorNode.cpp
diff --git a/Source/modules/webaudio/ScriptProcessorNode.cpp b/Source/modules/webaudio/ScriptProcessorNode.cpp
index 376b65e7dc112a25e864861957a23971b7afde06..246a5fee66e0cc4c8255cb3e69b899bd64c00a4e 100644
--- a/Source/modules/webaudio/ScriptProcessorNode.cpp
+++ b/Source/modules/webaudio/ScriptProcessorNode.cpp
@@ -52,7 +52,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 = blink::Platform::current()->audioHardwareBufferSize();
+ size_t hardwareBufferSize = Platform::current()->audioHardwareBufferSize();
size_t bufferSize = 1 << static_cast<unsigned>(log2(4 * hardwareBufferSize) + 0.5);
if (bufferSize < 256)
« no previous file with comments | « Source/modules/webaudio/AsyncAudioDecoder.cpp ('k') | Source/modules/webdatabase/DatabaseBackendBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698