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

Unified Diff: Source/modules/mediastream/RTCDTMFSender.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/mediasource/SourceBufferList.h ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/RTCDTMFSender.h
diff --git a/Source/modules/mediastream/RTCDTMFSender.h b/Source/modules/mediastream/RTCDTMFSender.h
index cb8cc329ac73042fd64ab50f48db13a2ced0a887..64dac55f3e4939e034e8632a2c4d8c9081e673dc 100644
--- a/Source/modules/mediastream/RTCDTMFSender.h
+++ b/Source/modules/mediastream/RTCDTMFSender.h
@@ -48,12 +48,12 @@ public:
bool canInsertDTMF() const;
MediaStreamTrack* track() const;
String toneBuffer() const;
- long duration() const { return m_duration; }
- long interToneGap() const { return m_interToneGap; }
+ int duration() const { return m_duration; }
+ int interToneGap() const { return m_interToneGap; }
void insertDTMF(const String& tones, ExceptionState&);
- void insertDTMF(const String& tones, long duration, ExceptionState&);
- void insertDTMF(const String& tones, long duration, long interToneGap, ExceptionState&);
+ void insertDTMF(const String& tones, int duration, ExceptionState&);
+ void insertDTMF(const String& tones, int duration, int interToneGap, ExceptionState&);
DEFINE_ATTRIBUTE_EVENT_LISTENER(tonechange);
@@ -84,8 +84,8 @@ private:
virtual void didPlayTone(const String&) OVERRIDE;
RefPtr<MediaStreamTrack> m_track;
- long m_duration;
- long m_interToneGap;
+ int m_duration;
+ int m_interToneGap;
OwnPtr<RTCDTMFSenderHandler> m_handler;
« no previous file with comments | « Source/modules/mediasource/SourceBufferList.h ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698