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

Unified Diff: Source/modules/webaudio/PeriodicWave.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/modules/webaudio/OscillatorNode.cpp ('k') | Source/modules/webaudio/ScriptProcessorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/PeriodicWave.cpp
diff --git a/Source/modules/webaudio/PeriodicWave.cpp b/Source/modules/webaudio/PeriodicWave.cpp
index 8c4a73f9028d00f20dc59f3baa13bb58e3b21c7d..8e16b79ef6e61b4219bd3b5a1cf68c8c41686190 100644
--- a/Source/modules/webaudio/PeriodicWave.cpp
+++ b/Source/modules/webaudio/PeriodicWave.cpp
@@ -57,7 +57,7 @@ PeriodicWave* PeriodicWave::create(float sampleRate, DOMFloat32Array* real, DOMF
periodicWave->createBandLimitedTables(real->data(), imag->data(), numberOfComponents);
return periodicWave;
}
- return 0;
+ return nullptr;
}
PeriodicWave* PeriodicWave::createSine(float sampleRate)
« no previous file with comments | « Source/modules/webaudio/OscillatorNode.cpp ('k') | Source/modules/webaudio/ScriptProcessorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698