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

Unified Diff: Source/modules/webaudio/ChannelMergerNode.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/BiquadProcessor.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 b4e38061d5913fd4bf576866dd7a78a4bbc34a9c..39a99011dde3d6c1829681ae8f51d13732408369 100644
--- a/Source/modules/webaudio/ChannelMergerNode.cpp
+++ b/Source/modules/webaudio/ChannelMergerNode.cpp
@@ -43,7 +43,7 @@ namespace WebCore {
PassRefPtr<ChannelMergerNode> ChannelMergerNode::create(AudioContext* context, float sampleRate, unsigned numberOfInputs)
{
if (!numberOfInputs || numberOfInputs > AudioContext::maxNumberOfChannels())
- return 0;
+ return nullptr;
return adoptRef(new ChannelMergerNode(context, sampleRate, numberOfInputs));
}
« no previous file with comments | « Source/modules/webaudio/BiquadProcessor.cpp ('k') | Source/modules/webaudio/ChannelSplitterNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698