Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/midi/MIDIOutputMap.cpp
Line
Count
Source (jump to first uncovered line)
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3
 * You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5
#include "mozilla/dom/MIDIOutputMap.h"
6
#include "mozilla/dom/MIDIOutputMapBinding.h"
7
#include "nsPIDOMWindow.h"
8
#include "mozilla/dom/BindingUtils.h"
9
10
namespace mozilla {
11
namespace dom {
12
13
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(MIDIOutputMap, mParent)
14
15
NS_IMPL_CYCLE_COLLECTING_ADDREF(MIDIOutputMap)
16
NS_IMPL_CYCLE_COLLECTING_RELEASE(MIDIOutputMap)
17
18
0
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(MIDIOutputMap)
19
0
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
20
0
NS_INTERFACE_MAP_ENTRY(nsISupports)
21
0
NS_INTERFACE_MAP_END
22
23
MIDIOutputMap::MIDIOutputMap(nsPIDOMWindowInner* aParent) :
24
  mParent(aParent)
25
0
{
26
0
}
27
28
JSObject*
29
MIDIOutputMap::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
30
0
{
31
0
  return MIDIOutputMap_Binding::Wrap(aCx, this, aGivenProto);
32
0
}
33
34
} // namespace dom
35
} // namespace mozilla