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

Unified Diff: Source/platform/exported/WebAudioBus.cpp

Issue 169653006: [not for commit] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: return nullptr_t overload, just do it right 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/heap/Visitor.h ('k') | Source/web/WebCachedURLRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebAudioBus.cpp
diff --git a/Source/platform/exported/WebAudioBus.cpp b/Source/platform/exported/WebAudioBus.cpp
index 84f8b1fe9e9622a33503af8c3ef841ced4df918c..326f57e4200065a43e860763f6bc632e86f04f2e 100644
--- a/Source/platform/exported/WebAudioBus.cpp
+++ b/Source/platform/exported/WebAudioBus.cpp
@@ -80,7 +80,7 @@ void WebAudioBus::reset()
#if ENABLE(WEB_AUDIO)
if (m_private) {
(static_cast<AudioBus*>(m_private))->deref();
- m_private = 0;
+ m_private = nullptr;
}
#else
ASSERT_NOT_REACHED();
@@ -140,7 +140,7 @@ PassRefPtr<AudioBus> WebAudioBus::release()
{
#if ENABLE(WEB_AUDIO)
RefPtr<AudioBus> audioBus(adoptRef(static_cast<AudioBus*>(m_private)));
- m_private = 0;
+ m_private = nullptr;
return audioBus;
#else
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/heap/Visitor.h ('k') | Source/web/WebCachedURLRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698