Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/layout/ipc/RenderFrameChild.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 "RenderFrameChild.h"
8
#include "mozilla/layers/LayerTransactionChild.h"
9
10
using mozilla::layers::PLayerTransactionChild;
11
using mozilla::layers::LayerTransactionChild;
12
13
namespace mozilla {
14
namespace layout {
15
16
void
17
RenderFrameChild::ActorDestroy(ActorDestroyReason why)
18
0
{
19
0
  mWasDestroyed = true;
20
0
}
21
22
void
23
RenderFrameChild::Destroy()
24
0
{
25
0
  if (mWasDestroyed) {
26
0
    return;
27
0
  }
28
0
29
0
  Send__delete__(this);
30
0
  // WARNING: |this| is dead, hands off
31
0
}
32
33
} // namespace layout
34
} // namespace mozilla