Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/canvas/WebGLExtensionBase.cpp
Line
Count
Source (jump to first uncovered line)
1
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* This Source Code Form is subject to the terms of the Mozilla Public
3
 * License, v. 2.0. If a copy of the MPL was not distributed with this
4
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6
#include "WebGLExtensions.h"
7
8
namespace mozilla {
9
10
WebGLExtensionBase::WebGLExtensionBase(WebGLContext* context)
11
    : WebGLContextBoundObject(context)
12
    , mIsLost(false)
13
0
{
14
0
}
15
16
WebGLExtensionBase::~WebGLExtensionBase()
17
0
{
18
0
}
19
20
void
21
WebGLExtensionBase::MarkLost()
22
0
{
23
0
    mIsLost = true;
24
0
25
0
    OnMarkLost();
26
0
}
27
28
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_0(WebGLExtensionBase)
29
30
NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(WebGLExtensionBase, AddRef)
31
NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(WebGLExtensionBase, Release)
32
33
} // namespace mozilla