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

Unified Diff: Source/modules/speech/SpeechSynthesisEvent.h

Issue 21735005: Use "int" instead of "long" for bindings where the WebIDL uses "long". (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
Index: Source/modules/speech/SpeechSynthesisEvent.h
diff --git a/Source/modules/speech/SpeechSynthesisEvent.h b/Source/modules/speech/SpeechSynthesisEvent.h
index fe69a393801e9352ef5ac930ab78ecde4cb4b071..a6a8a40850ea219f3b6a8ad9c09e7c4aa3c404e6 100644
--- a/Source/modules/speech/SpeechSynthesisEvent.h
+++ b/Source/modules/speech/SpeechSynthesisEvent.h
@@ -34,9 +34,9 @@ namespace WebCore {
class SpeechSynthesisEvent : public Event {
public:
static PassRefPtr<SpeechSynthesisEvent> create();
- static PassRefPtr<SpeechSynthesisEvent> create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name);
+ static PassRefPtr<SpeechSynthesisEvent> create(const AtomicString& type, unsigned charIndex, float elapsedTime, const String& name);
- unsigned long charIndex() const { return m_charIndex; }
+ unsigned charIndex() const { return m_charIndex; }
float elapsedTime() const { return m_elapsedTime; }
const String& name() const { return m_name; }
@@ -44,9 +44,9 @@ public:
private:
SpeechSynthesisEvent();
- SpeechSynthesisEvent(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name);
+ SpeechSynthesisEvent(const AtomicString& type, unsigned charIndex, float elapsedTime, const String& name);
- unsigned long m_charIndex;
+ unsigned m_charIndex;
float m_elapsedTime;
String m_name;
};
« no previous file with comments | « Source/modules/speech/SpeechRecognitionResultList.cpp ('k') | Source/modules/speech/SpeechSynthesisEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698