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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
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)
« no previous file with comments | « Source/modules/webaudio/OfflineAudioDestinationNode.cpp ('k') | Source/modules/webdatabase/QuotaTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698