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

Side by Side Diff: Source/modules/mediasource/SourceBufferList.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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/mediasource/MediaSource.h ('k') | Source/modules/mediastream/MediaStream.h » ('j') | 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) 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 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 DEFINE_SELF_HANDLE(SourceBufferList) 46 DEFINE_SELF_HANDLE(SourceBufferList)
47 public: 47 public:
48 static PassRefPtr<SourceBufferList> create(ScriptExecutionContext* context, GenericEventQueue* asyncEventQueue) 48 static PassRefPtr<SourceBufferList> create(ScriptExecutionContext* context, GenericEventQueue* asyncEventQueue)
49 { 49 {
50 return adoptRef(new SourceBufferList(context, asyncEventQueue)); 50 return adoptRef(new SourceBufferList(context, asyncEventQueue));
51 } 51 }
52 virtual ~SourceBufferList() { } 52 virtual ~SourceBufferList() { }
53 53
54 virtual void trace(Visitor*) { } 54 virtual void trace(Visitor*) { }
55 55
56 virtual void visitWith(Visitor* visitor) const OVERRIDE 56 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
57 { 57 {
58 visitor->visit(this); 58 visitor->mark(this);
59 } 59 }
60 60
61 unsigned long length() const; 61 unsigned long length() const;
62 SourceBuffer* item(unsigned index) const; 62 SourceBuffer* item(unsigned index) const;
63 63
64 void add(PassRefPtr<SourceBuffer>); 64 void add(PassRefPtr<SourceBuffer>);
65 bool remove(SourceBuffer*); 65 bool remove(SourceBuffer*);
66 void clear(); 66 void clear();
67 67
68 // EventTarget interface 68 // EventTarget interface
(...skipping 16 matching lines...) Expand all
85 // FIXME(oilpan): This is a back pointer. 85 // FIXME(oilpan): This is a back pointer.
86 ScriptExecutionContext* m_scriptExecutionContext; 86 ScriptExecutionContext* m_scriptExecutionContext;
87 GenericEventQueue* m_asyncEventQueue; 87 GenericEventQueue* m_asyncEventQueue;
88 88
89 Vector<RefPtr<SourceBuffer> > m_list; 89 Vector<RefPtr<SourceBuffer> > m_list;
90 }; 90 };
91 91
92 } // namespace WebCore 92 } // namespace WebCore
93 93
94 #endif 94 #endif
OLDNEW
« no previous file with comments | « Source/modules/mediasource/MediaSource.h ('k') | Source/modules/mediastream/MediaStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698