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

Unified Diff: Source/modules/speech/SpeechRecognition.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
« no previous file with comments | « Source/modules/speech/SpeechGrammarList.cpp ('k') | Source/modules/speech/SpeechRecognitionResult.h » ('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 afb08cae3b79b0b00a1483c1f8a32e673a8d65d8..acf704f3b40a8fa2952aecb0652db7cc0e1915bb 100644
--- a/Source/modules/speech/SpeechRecognition.h
+++ b/Source/modules/speech/SpeechRecognition.h
@@ -58,8 +58,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; }
// Callable by the user.
void start(ExceptionState&);
@@ -117,7 +117,7 @@ private:
String m_lang;
bool m_continuous;
bool m_interimResults;
- unsigned long m_maxAlternatives;
+ unsigned m_maxAlternatives;
EventTargetData m_eventTargetData;
« no previous file with comments | « Source/modules/speech/SpeechGrammarList.cpp ('k') | Source/modules/speech/SpeechRecognitionResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698