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

Unified Diff: Source/platform/audio/AudioDestination.cpp

Issue 906233002: Use nullptr instead of 0 in WebAudio (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 10 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/platform/audio/AudioDSPKernel.h ('k') | Source/platform/audio/HRTFPanner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/AudioDestination.cpp
diff --git a/Source/platform/audio/AudioDestination.cpp b/Source/platform/audio/AudioDestination.cpp
index 946a05440a5050b31fd92bf695b77017d3b72343..0575c766e9fdbe128e2a1be652f786d31a558913 100644
--- a/Source/platform/audio/AudioDestination.cpp
+++ b/Source/platform/audio/AudioDestination.cpp
@@ -166,7 +166,7 @@ void AudioDestination::render(const WebVector<float*>& sourceData, const WebVect
void AudioDestination::provideInput(AudioBus* bus, size_t framesToProcess)
{
- AudioBus* sourceBus = 0;
+ AudioBus* sourceBus = nullptr;
if (m_inputFifo->framesInFifo() >= framesToProcess) {
m_inputFifo->consume(m_inputBus.get(), framesToProcess);
sourceBus = m_inputBus.get();
« no previous file with comments | « Source/platform/audio/AudioDSPKernel.h ('k') | Source/platform/audio/HRTFPanner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698