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

Unified Diff: Source/platform/audio/AudioChannel.h

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/platform/audio/AudioBus.cpp ('k') | Source/platform/audio/AudioDSPKernel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/AudioChannel.h
diff --git a/Source/platform/audio/AudioChannel.h b/Source/platform/audio/AudioChannel.h
index a11f4e44591593417775334d05fe3367a91641ce..4067a6b562387cfdd01ae7d3ca9ec3ce23bd9a75 100644
--- a/Source/platform/audio/AudioChannel.h
+++ b/Source/platform/audio/AudioChannel.h
@@ -53,7 +53,7 @@ public:
// Manage storage for us.
explicit AudioChannel(size_t length)
: m_length(length)
- , m_rawPointer(0)
+ , m_rawPointer(nullptr)
, m_silent(true)
{
m_memBuffer = adoptPtr(new AudioFloatArray(length));
@@ -62,7 +62,7 @@ public:
// A "blank" audio channel -- must call set() before it's useful...
AudioChannel()
: m_length(0)
- , m_rawPointer(0)
+ , m_rawPointer(nullptr)
, m_silent(true)
{
}
« no previous file with comments | « Source/platform/audio/AudioBus.cpp ('k') | Source/platform/audio/AudioDSPKernel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698