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

Side by Side Diff: Source/modules/mediastream/RTCDTMFSender.cpp

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 if (!m_scheduledEventTimer.isActive()) 150 if (!m_scheduledEventTimer.isActive())
151 m_scheduledEventTimer.startOneShot(0, FROM_HERE); 151 m_scheduledEventTimer.startOneShot(0, FROM_HERE);
152 } 152 }
153 153
154 void RTCDTMFSender::scheduledEventTimerFired(Timer<RTCDTMFSender>*) 154 void RTCDTMFSender::scheduledEventTimerFired(Timer<RTCDTMFSender>*)
155 { 155 {
156 if (m_stopped) 156 if (m_stopped)
157 return; 157 return;
158 158
159 WillBeHeapVector<RefPtrWillBeMember<Event> > events; 159 WillBeHeapVector<RefPtrWillBeMember<Event>> events;
160 events.swap(m_scheduledEvents); 160 events.swap(m_scheduledEvents);
161 161
162 WillBeHeapVector<RefPtrWillBeMember<Event> >::iterator it = events.begin(); 162 WillBeHeapVector<RefPtrWillBeMember<Event>>::iterator it = events.begin();
163 for (; it != events.end(); ++it) 163 for (; it != events.end(); ++it)
164 dispatchEvent((*it).release()); 164 dispatchEvent((*it).release());
165 } 165 }
166 166
167 void RTCDTMFSender::trace(Visitor* visitor) 167 void RTCDTMFSender::trace(Visitor* visitor)
168 { 168 {
169 visitor->trace(m_track); 169 visitor->trace(m_track);
170 visitor->trace(m_scheduledEvents); 170 visitor->trace(m_scheduledEvents);
171 RefCountedGarbageCollectedEventTargetWithInlineData<RTCDTMFSender>::trace(vi sitor); 171 RefCountedGarbageCollectedEventTargetWithInlineData<RTCDTMFSender>::trace(vi sitor);
172 ActiveDOMObject::trace(visitor); 172 ActiveDOMObject::trace(visitor);
173 } 173 }
174 174
175 } // namespace blink 175 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698