| OLD | NEW |
| 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 } | 603 } |
| 604 | 604 |
| 605 ASSERT_NOT_REACHED(); | 605 ASSERT_NOT_REACHED(); |
| 606 return nullptr; | 606 return nullptr; |
| 607 } | 607 } |
| 608 | 608 |
| 609 void MediaSource::scheduleEvent(const AtomicString& eventName) | 609 void MediaSource::scheduleEvent(const AtomicString& eventName) |
| 610 { | 610 { |
| 611 ASSERT(m_asyncEventQueue); | 611 ASSERT(m_asyncEventQueue); |
| 612 | 612 |
| 613 RefPtrWillBeRawPtr<Event> event = Event::create(eventName); | 613 RawPtr<Event> event = Event::create(eventName); |
| 614 event->setTarget(this); | 614 event->setTarget(this); |
| 615 | 615 |
| 616 m_asyncEventQueue->enqueueEvent(event.release()); | 616 m_asyncEventQueue->enqueueEvent(event.release()); |
| 617 } | 617 } |
| 618 | 618 |
| 619 URLRegistry& MediaSource::registry() const | 619 URLRegistry& MediaSource::registry() const |
| 620 { | 620 { |
| 621 return MediaSourceRegistry::registry(); | 621 return MediaSourceRegistry::registry(); |
| 622 } | 622 } |
| 623 | 623 |
| 624 } // namespace blink | 624 } // namespace blink |
| OLD | NEW |