| 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/mediarecorder/MediaRecorderErrorEvent.h" | 
|  | 8 | 
|  | 9 namespace blink { | 
|  | 10 | 
|  | 11 // static | 
|  | 12 PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create(
    ) | 
|  | 13 { | 
|  | 14     return adoptRefWillBeNoop(new MediaRecorderErrorEvent); | 
|  | 15 } | 
|  | 16 | 
|  | 17 // static | 
|  | 18 PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create(
    const AtomicString& type, bool canBubble, bool cancelable, const String& name, c
    onst String& message) | 
|  | 19 { | 
|  | 20     return adoptRefWillBeNoop(new MediaRecorderErrorEvent(type, canBubble, cance
    lable, name, message)); | 
|  | 21 } | 
|  | 22 | 
|  | 23 const AtomicString& MediaRecorderErrorEvent::interfaceName() const | 
|  | 24 { | 
|  | 25     return EventNames::MediaRecorderErrorEvent; | 
|  | 26 } | 
|  | 27 | 
|  | 28 MediaRecorderErrorEvent::MediaRecorderErrorEvent(const AtomicString& type, bool 
    canBubble, bool cancelable, const String& name, const String& message) | 
|  | 29     : Event(type, canBubble, cancelable) | 
|  | 30     , m_name(name) | 
|  | 31     , m_message(message) | 
|  | 32 { | 
|  | 33 } | 
|  | 34 | 
|  | 35 } // namespace blink | 
| OLD | NEW | 
|---|