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

Unified Diff: Source/modules/speech/testing/PlatformSpeechSynthesizerMock.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/speech/SpeechSynthesis.cpp ('k') | Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
diff --git a/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp b/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
index b879c84ac298194ed42f86171b4ce3a5fdc81751..275925bd16920b63ab34c91b71d6dbe1b58d382c 100644
--- a/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
+++ b/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
@@ -54,7 +54,7 @@ void PlatformSpeechSynthesizerMock::speakingFinished(Timer<PlatformSpeechSynthes
{
ASSERT(m_utterance.get());
client()->didFinishSpeaking(m_utterance);
- m_utterance = 0;
+ m_utterance = nullptr;
}
void PlatformSpeechSynthesizerMock::initializeVoiceList()
@@ -86,7 +86,7 @@ void PlatformSpeechSynthesizerMock::cancel()
m_speakingFinishedTimer.stop();
client()->speakingErrorOccurred(m_utterance);
- m_utterance = 0;
+ m_utterance = nullptr;
}
void PlatformSpeechSynthesizerMock::pause()
« no previous file with comments | « Source/modules/speech/SpeechSynthesis.cpp ('k') | Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698