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

Unified Diff: Source/modules/webaudio/ChannelSplitterNode.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
Index: Source/modules/webaudio/ChannelSplitterNode.cpp
diff --git a/Source/modules/webaudio/ChannelSplitterNode.cpp b/Source/modules/webaudio/ChannelSplitterNode.cpp
index dba25ab5ed05098505e7506e1ea8ec1f3f685147..a6c6d1b1538bbe0927782d0ec5ab0be261182760 100644
--- a/Source/modules/webaudio/ChannelSplitterNode.cpp
+++ b/Source/modules/webaudio/ChannelSplitterNode.cpp
@@ -37,7 +37,7 @@ namespace blink {
ChannelSplitterNode* ChannelSplitterNode::create(AudioContext* context, float sampleRate, unsigned numberOfOutputs)
{
if (!numberOfOutputs || numberOfOutputs > AudioContext::maxNumberOfChannels())
- return 0;
+ return nullptr;
return new ChannelSplitterNode(context, sampleRate, numberOfOutputs);
}
« no previous file with comments | « Source/modules/webaudio/ChannelMergerNode.cpp ('k') | Source/modules/webaudio/MediaElementAudioSourceNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698