OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "config.h" | |
6 | |
7 #include "modules/mediastream/BlobEvent.h" | |
8 | |
9 namespace blink { | |
10 | |
11 // static | |
12 PassRefPtrWillBeRawPtr<BlobEvent> BlobEvent::create() | |
13 { | |
14 return adoptRefWillBeNoop(new BlobEvent); | |
15 } | |
16 | |
17 // static | |
18 PassRefPtrWillBeRawPtr<BlobEvent> BlobEvent::create(const AtomicString& type, bo ol canBubble, bool cancelable, Blob* blob) | |
19 { | |
20 return adoptRefWillBeNoop(new BlobEvent(type, canBubble, cancelable, blob)); | |
21 } | |
22 | |
23 const AtomicString& BlobEvent::interfaceName() const | |
24 { | |
25 return EventNames::BlobEvent; | |
26 } | |
27 | |
28 DEFINE_TRACE(BlobEvent) | |
29 { | |
30 visitor->trace(m_blob); | |
31 Event::trace(visitor); | |
32 } | |
33 | |
34 BlobEvent::BlobEvent(const AtomicString& type, bool canBubble, bool cancelable, Blob* blob) | |
35 : Event(type, canBubble, cancelable) | |
36 , m_blob(blob) { } | |
Peter Beverloo
2015/08/28 17:18:24
micro nit: {} on their own lines.
mcasas
2015/08/29 01:12:57
Done.
| |
37 | |
38 } // namespace blink | |
OLD | NEW |