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

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

Issue 717413002: Use "unsigned" rather than "unsigned long" for C++ code interacting with WebIDL's "unsigned long". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 89ed746412c41848d9a098db190a42f7dbeb7e35..aa4013af4233d90bcfd4639f7ac8b06820d31148 100644
--- a/Source/modules/speech/SpeechSynthesisEvent.h
+++ b/Source/modules/speech/SpeechSynthesisEvent.h
@@ -34,9 +34,9 @@ class SpeechSynthesisEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> create();
- static PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name);
+ static PassRefPtrWillBeRawPtr<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; }
@@ -49,9 +49,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