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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 m_readyState = ReadyStateClosed; 318 m_readyState = ReadyStateClosed;
319 m_handler->setClient(0); 319 m_handler->setClient(0);
320 m_executionContext = 0; 320 m_executionContext = 0;
321 } 321 }
322 322
323 void RTCDataChannel::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event) 323 void RTCDataChannel::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event)
324 { 324 {
325 m_scheduledEvents.append(event); 325 m_scheduledEvents.append(event);
326 326
327 if (!m_scheduledEventTimer.isActive()) 327 if (!m_scheduledEventTimer.isActive())
328 m_scheduledEventTimer.startOneShot(0, FROM_HERE); 328 m_scheduledEventTimer.startOneShot(0, BLINK_FROM_HERE);
329 } 329 }
330 330
331 void RTCDataChannel::scheduledEventTimerFired(Timer<RTCDataChannel>*) 331 void RTCDataChannel::scheduledEventTimerFired(Timer<RTCDataChannel>*)
332 { 332 {
333 if (m_stopped) 333 if (m_stopped)
334 return; 334 return;
335 335
336 WillBeHeapVector<RefPtrWillBeMember<Event>> events; 336 WillBeHeapVector<RefPtrWillBeMember<Event>> events;
337 events.swap(m_scheduledEvents); 337 events.swap(m_scheduledEvents);
338 338
(...skipping 14 matching lines...) Expand all
353 353
354 DEFINE_TRACE(RTCDataChannel) 354 DEFINE_TRACE(RTCDataChannel)
355 { 355 {
356 visitor->trace(m_executionContext); 356 visitor->trace(m_executionContext);
357 visitor->trace(m_scheduledEvents); 357 visitor->trace(m_scheduledEvents);
358 visitor->template registerWeakMembers<RTCDataChannel, &RTCDataChannel::clear WeakMembers>(this); 358 visitor->template registerWeakMembers<RTCDataChannel, &RTCDataChannel::clear WeakMembers>(this);
359 RefCountedGarbageCollectedEventTargetWithInlineData<RTCDataChannel>::trace(v isitor); 359 RefCountedGarbageCollectedEventTargetWithInlineData<RTCDataChannel>::trace(v isitor);
360 } 360 }
361 361
362 } // namespace blink 362 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698