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

Unified Diff: Source/modules/mediastream/RTCDTMFSender.h

Issue 716323002: Use "int" rather than "long" for C++ code interacting with WebIDL's "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/mediastream/RTCDTMFSender.h
diff --git a/Source/modules/mediastream/RTCDTMFSender.h b/Source/modules/mediastream/RTCDTMFSender.h
index b8fa66fd58f722ab395367b095a61217c44681dc..98f3299700cac19f5acc94dc72f75f6885466da6 100644
--- a/Source/modules/mediastream/RTCDTMFSender.h
+++ b/Source/modules/mediastream/RTCDTMFSender.h
@@ -53,12 +53,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);
@@ -81,8 +81,8 @@ private:
virtual void didPlayTone(const WebString&) override;
Member<MediaStreamTrack> m_track;
- long m_duration;
- long m_interToneGap;
+ int m_duration;
+ int m_interToneGap;
OwnPtr<WebRTCDTMFSenderHandler> m_handler;
« no previous file with comments | « no previous file | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | Source/modules/mediastream/RTCDataChannel.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698