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

Unified Diff: Source/modules/speech/SpeechSynthesisUtterance.cpp

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/SpeechSynthesisEvent.idl ('k') | Source/modules/speech/SpeechSynthesisUtterance.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechSynthesisUtterance.cpp
diff --git a/Source/modules/speech/SpeechSynthesisUtterance.cpp b/Source/modules/speech/SpeechSynthesisUtterance.cpp
index c394a3c166e749c6234cfe82152e4ab12cefa47e..b11d046f80f093757720c3ebd32bbc8c003e3ca7 100644
--- a/Source/modules/speech/SpeechSynthesisUtterance.cpp
+++ b/Source/modules/speech/SpeechSynthesisUtterance.cpp
@@ -27,7 +27,7 @@
#include "modules/speech/SpeechSynthesisUtterance.h"
namespace WebCore {
-
+
PassRefPtr<SpeechSynthesisUtterance> SpeechSynthesisUtterance::create(ScriptExecutionContext* context, const String& text)
{
return adoptRef(new SpeechSynthesisUtterance(context, text));
@@ -45,12 +45,12 @@ SpeechSynthesisUtterance::~SpeechSynthesisUtterance()
{
m_platformUtterance->setClient(0);
}
-
+
ScriptExecutionContext* SpeechSynthesisUtterance::scriptExecutionContext() const
{
return ContextLifecycleObserver::scriptExecutionContext();
-}
-
+}
+
const AtomicString& SpeechSynthesisUtterance::interfaceName() const
{
return eventNames().interfaceForSpeechSynthesisUtterance;
@@ -66,7 +66,7 @@ void SpeechSynthesisUtterance::setVoice(SpeechSynthesisVoice* voice)
// Cache our own version of the SpeechSynthesisVoice so that we don't have to do some lookup
// to go from the platform voice back to the speech synthesis voice in the read property.
m_voice = voice;
-
+
if (voice)
m_platformUtterance->setVoice(voice->platformVoice());
}
« no previous file with comments | « Source/modules/speech/SpeechSynthesisEvent.idl ('k') | Source/modules/speech/SpeechSynthesisUtterance.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698