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

Side by Side Diff: third_party/WebKit/Source/modules/mediasource/MediaSource.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698