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

Unified Diff: Source/modules/webaudio/ChannelSplitterNode.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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/ChannelMergerNode.cpp ('k') | Source/modules/webaudio/OfflineAudioContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ChannelSplitterNode.cpp
diff --git a/Source/modules/webaudio/ChannelSplitterNode.cpp b/Source/modules/webaudio/ChannelSplitterNode.cpp
index a9f31d2b5720e904946dfb74c2fe3b7fc8a1fff6..a279b329326e1a2185a1cccb7fe3c7023530d790 100644
--- a/Source/modules/webaudio/ChannelSplitterNode.cpp
+++ b/Source/modules/webaudio/ChannelSplitterNode.cpp
@@ -37,7 +37,7 @@ namespace WebCore {
PassRefPtr<ChannelSplitterNode> ChannelSplitterNode::create(AudioContext* context, float sampleRate, unsigned numberOfOutputs)
{
if (!numberOfOutputs || numberOfOutputs > AudioContext::maxNumberOfChannels())
- return 0;
+ return nullptr;
return adoptRef(new ChannelSplitterNode(context, sampleRate, numberOfOutputs));
}
« no previous file with comments | « Source/modules/webaudio/ChannelMergerNode.cpp ('k') | Source/modules/webaudio/OfflineAudioContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698