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

Side by Side Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.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, 8 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 533
534 bool SourceBuffer::isRemoved() const 534 bool SourceBuffer::isRemoved() const
535 { 535 {
536 return !m_source; 536 return !m_source;
537 } 537 }
538 538
539 void SourceBuffer::scheduleEvent(const AtomicString& eventName) 539 void SourceBuffer::scheduleEvent(const AtomicString& eventName)
540 { 540 {
541 ASSERT(m_asyncEventQueue); 541 ASSERT(m_asyncEventQueue);
542 542
543 RefPtrWillBeRawPtr<Event> event = Event::create(eventName); 543 RawPtr<Event> event = Event::create(eventName);
544 event->setTarget(this); 544 event->setTarget(this);
545 545
546 m_asyncEventQueue->enqueueEvent(event.release()); 546 m_asyncEventQueue->enqueueEvent(event.release());
547 } 547 }
548 548
549 bool SourceBuffer::prepareAppend(size_t newDataSize, ExceptionState& exceptionSt ate) 549 bool SourceBuffer::prepareAppend(size_t newDataSize, ExceptionState& exceptionSt ate)
550 { 550 {
551 TRACE_EVENT_ASYNC_BEGIN0("media", "SourceBuffer::prepareAppend", this); 551 TRACE_EVENT_ASYNC_BEGIN0("media", "SourceBuffer::prepareAppend", this);
552 // http://w3c.github.io/media-source/#sourcebuffer-prepare-append 552 // http://w3c.github.io/media-source/#sourcebuffer-prepare-append
553 // 3.5.4 Prepare Append Algorithm 553 // 3.5.4 Prepare Append Algorithm
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 visitor->trace(m_asyncEventQueue); 871 visitor->trace(m_asyncEventQueue);
872 visitor->trace(m_appendBufferAsyncPartRunner); 872 visitor->trace(m_appendBufferAsyncPartRunner);
873 visitor->trace(m_removeAsyncPartRunner); 873 visitor->trace(m_removeAsyncPartRunner);
874 visitor->trace(m_appendStreamAsyncPartRunner); 874 visitor->trace(m_appendStreamAsyncPartRunner);
875 visitor->trace(m_stream); 875 visitor->trace(m_stream);
876 RefCountedGarbageCollectedEventTargetWithInlineData<SourceBuffer>::trace(vis itor); 876 RefCountedGarbageCollectedEventTargetWithInlineData<SourceBuffer>::trace(vis itor);
877 ActiveDOMObject::trace(visitor); 877 ActiveDOMObject::trace(visitor);
878 } 878 }
879 879
880 } // namespace blink 880 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698