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

Unified Diff: Source/modules/webaudio/ChannelMergerNode.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/AudioNode.cpp ('k') | Source/modules/webaudio/ChannelSplitterNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ChannelMergerNode.cpp
diff --git a/Source/modules/webaudio/ChannelMergerNode.cpp b/Source/modules/webaudio/ChannelMergerNode.cpp
index a4bd648ad5e30aaf08537962fc2541772cecec83..cebf9c6b3eb9f6b6b299a1a4f7f03826754d5a18 100644
--- a/Source/modules/webaudio/ChannelMergerNode.cpp
+++ b/Source/modules/webaudio/ChannelMergerNode.cpp
@@ -43,7 +43,7 @@ namespace blink {
ChannelMergerNode* ChannelMergerNode::create(AudioContext* context, float sampleRate, unsigned numberOfInputs)
{
if (!numberOfInputs || numberOfInputs > AudioContext::maxNumberOfChannels())
- return 0;
+ return nullptr;
return new ChannelMergerNode(context, sampleRate, numberOfInputs);
}
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/ChannelSplitterNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698