Line data Source code
1 : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 : * vim: sw=2 ts=8 et :
3 : */
4 : /* This Source Code Form is subject to the terms of the Mozilla Public
5 : * License, v. 2.0. If a copy of the MPL was not distributed with this
6 : * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 :
8 : #include "RenderFrameChild.h"
9 : #include "mozilla/layers/LayerTransactionChild.h"
10 :
11 : using mozilla::layers::PLayerTransactionChild;
12 : using mozilla::layers::LayerTransactionChild;
13 :
14 : namespace mozilla {
15 : namespace layout {
16 :
17 : void
18 0 : RenderFrameChild::ActorDestroy(ActorDestroyReason why)
19 : {
20 0 : mWasDestroyed = true;
21 0 : }
22 :
23 : void
24 0 : RenderFrameChild::Destroy()
25 : {
26 0 : if (mWasDestroyed) {
27 0 : return;
28 : }
29 :
30 0 : Send__delete__(this);
31 : // WARNING: |this| is dead, hands off
32 : }
33 :
34 : } // namespace layout
35 : } // namespace mozilla
|