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

Unified Diff: Source/platform/audio/SincResampler.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/HRTFPanner.cpp ('k') | Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/SincResampler.cpp
diff --git a/Source/platform/audio/SincResampler.cpp b/Source/platform/audio/SincResampler.cpp
index cd14bc3dd31831e51c894e1bf4997803e707abd0..c149ccdf88a8b6f480b38321a9aeacb8a4077719 100644
--- a/Source/platform/audio/SincResampler.cpp
+++ b/Source/platform/audio/SincResampler.cpp
@@ -77,9 +77,9 @@ SincResampler::SincResampler(double scaleFactor, unsigned kernelSize, unsigned n
, m_virtualSourceIndex(0)
, m_blockSize(512)
, m_inputBuffer(m_blockSize + m_kernelSize) // See input buffer layout above.
- , m_source(0)
+ , m_source(nullptr)
, m_sourceFramesAvailable(0)
- , m_sourceProvider(0)
+ , m_sourceProvider(nullptr)
, m_isBufferPrimed(false)
{
initializeKernel();
« no previous file with comments | « Source/platform/audio/HRTFPanner.cpp ('k') | Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698