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

Unified Diff: Source/platform/audio/AudioArray.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/modules/webaudio/ScriptProcessorNode.cpp ('k') | Source/platform/audio/AudioBus.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/AudioArray.h
diff --git a/Source/platform/audio/AudioArray.h b/Source/platform/audio/AudioArray.h
index 64f607ba89fd351bcce154e99e8eadc9ade2beb0..ebace92789105581298a601c8ea8c29a4c74c084 100644
--- a/Source/platform/audio/AudioArray.h
+++ b/Source/platform/audio/AudioArray.h
@@ -38,8 +38,8 @@ namespace blink {
template<typename T>
class AudioArray {
public:
- AudioArray() : m_allocation(0), m_alignedData(0), m_size(0) { }
- explicit AudioArray(size_t n) : m_allocation(0), m_alignedData(0), m_size(0)
+ AudioArray() : m_allocation(nullptr), m_alignedData(nullptr), m_size(0) { }
+ explicit AudioArray(size_t n) : m_allocation(nullptr), m_alignedData(nullptr), m_size(0)
{
allocate(n);
}
« no previous file with comments | « Source/modules/webaudio/ScriptProcessorNode.cpp ('k') | Source/platform/audio/AudioBus.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698