Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/clients/manager/ClientOpenWindowOpActors.cpp
Line
Count
Source (jump to first uncovered line)
1
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
3
/* This Source Code Form is subject to the terms of the Mozilla Public
4
 * License, v. 2.0. If a copy of the MPL was not distributed with this
5
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7
#include "ClientOpenWindowOpActors.h"
8
9
#include "ClientOpenWindowOpChild.h"
10
#include "mozilla/dom/PClientOpenWindowOpParent.h"
11
12
namespace mozilla {
13
namespace dom {
14
15
PClientOpenWindowOpChild*
16
AllocClientOpenWindowOpChild()
17
0
{
18
0
  return new ClientOpenWindowOpChild();
19
0
}
20
21
void
22
InitClientOpenWindowOpChild(PClientOpenWindowOpChild* aActor,
23
                            const ClientOpenWindowArgs& aArgs)
24
0
{
25
0
  auto actor = static_cast<ClientOpenWindowOpChild*>(aActor);
26
0
  actor->Init(aArgs);
27
0
}
28
29
bool
30
DeallocClientOpenWindowOpChild(PClientOpenWindowOpChild* aActor)
31
0
{
32
0
  delete aActor;
33
0
  return true;
34
0
}
35
36
PClientOpenWindowOpParent*
37
AllocClientOpenWindowOpParent(const ClientOpenWindowArgs& aArgs)
38
0
{
39
0
  MOZ_CRASH("ClientOpenWindowOpParent must be explicitly allocated");
40
0
  return nullptr;
41
0
}
42
43
bool
44
DeallocClientOpenWindowOpParent(PClientOpenWindowOpParent* aActor)
45
0
{
46
0
  delete aActor;
47
0
  return true;
48
0
}
49
50
51
} // namespace dom
52
} // namespace mozilla