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

Side by Side Diff: Source/modules/mediasource/SourceBuffer.cpp

Issue 1179733009: Always enable Oilpan for EventSource. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: msvc compile fix Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/fetch/Body.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 655
656 // 2. Set the updating attribute to true. 656 // 2. Set the updating attribute to true.
657 m_updating = true; 657 m_updating = true;
658 658
659 // 3. Queue a task to fire a simple event named updatestart at this SourceBu ffer object. 659 // 3. Queue a task to fire a simple event named updatestart at this SourceBu ffer object.
660 scheduleEvent(EventTypeNames::updatestart); 660 scheduleEvent(EventTypeNames::updatestart);
661 661
662 // 4. Asynchronously run the stream append loop algorithm with stream and ma xSize. 662 // 4. Asynchronously run the stream append loop algorithm with stream and ma xSize.
663 663
664 stream->neuter(); 664 stream->neuter();
665 m_loader = adoptPtr(new FileReaderLoader(FileReaderLoader::ReadByClient, thi s)); 665 m_loader = FileReaderLoader::create(FileReaderLoader::ReadByClient, this);
666 m_stream = stream; 666 m_stream = stream;
667 m_appendStreamAsyncPartRunner.runAsync(); 667 m_appendStreamAsyncPartRunner.runAsync();
668 } 668 }
669 669
670 void SourceBuffer::appendStreamAsyncPart() 670 void SourceBuffer::appendStreamAsyncPart()
671 { 671 {
672 ASSERT(m_updating); 672 ASSERT(m_updating);
673 ASSERT(m_loader); 673 ASSERT(m_loader);
674 ASSERT(m_stream); 674 ASSERT(m_stream);
675 675
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 { 763 {
764 visitor->trace(m_source); 764 visitor->trace(m_source);
765 visitor->trace(m_stream); 765 visitor->trace(m_stream);
766 visitor->trace(m_trackDefaults); 766 visitor->trace(m_trackDefaults);
767 visitor->trace(m_asyncEventQueue); 767 visitor->trace(m_asyncEventQueue);
768 RefCountedGarbageCollectedEventTargetWithInlineData<SourceBuffer>::trace(vis itor); 768 RefCountedGarbageCollectedEventTargetWithInlineData<SourceBuffer>::trace(vis itor);
769 ActiveDOMObject::trace(visitor); 769 ActiveDOMObject::trace(visitor);
770 } 770 }
771 771
772 } // namespace blink 772 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/fetch/Body.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698