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

Unified Diff: Source/modules/speech/SpeechRecognition.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
« no previous file with comments | « Source/modules/speech/SpeechGrammarList.cpp ('k') | Source/modules/speech/SpeechRecognition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechRecognition.h
diff --git a/Source/modules/speech/SpeechRecognition.h b/Source/modules/speech/SpeechRecognition.h
index ecac4665ff886675554a0376b537357a821712a8..9fa46df740d19ff46b34a47db2289ebfce629f69 100644
--- a/Source/modules/speech/SpeechRecognition.h
+++ b/Source/modules/speech/SpeechRecognition.h
@@ -60,8 +60,8 @@ public:
void setContinuous(bool continuous) { m_continuous = continuous; }
bool interimResults() { return m_interimResults; }
void setInterimResults(bool interimResults) { m_interimResults = interimResults; }
- unsigned long maxAlternatives() { return m_maxAlternatives; }
- void setMaxAlternatives(unsigned long maxAlternatives) { m_maxAlternatives = maxAlternatives; }
+ unsigned maxAlternatives() { return m_maxAlternatives; }
+ void setMaxAlternatives(unsigned maxAlternatives) { m_maxAlternatives = maxAlternatives; }
MediaStreamTrack* audioTrack() { return m_audioTrack; }
void setAudioTrack(MediaStreamTrack* audioTrack) { m_audioTrack = audioTrack; }
« no previous file with comments | « Source/modules/speech/SpeechGrammarList.cpp ('k') | Source/modules/speech/SpeechRecognition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698