Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/canvas/WebGLExtensionLoseContext.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
#include "mozilla/dom/WebGLRenderingContextBinding.h"
9
#include "WebGLContext.h"
10
11
namespace mozilla {
12
13
WebGLExtensionLoseContext::WebGLExtensionLoseContext(WebGLContext* webgl)
14
    : WebGLExtensionBase(webgl)
15
0
{
16
0
}
17
18
WebGLExtensionLoseContext::~WebGLExtensionLoseContext()
19
0
{
20
0
}
21
22
void
23
WebGLExtensionLoseContext::LoseContext()
24
0
{
25
0
    mContext->LoseContext();
26
0
}
27
28
void
29
WebGLExtensionLoseContext::RestoreContext()
30
0
{
31
0
    mContext->RestoreContext();
32
0
}
33
34
IMPL_WEBGL_EXTENSION_GOOP(WebGLExtensionLoseContext, WEBGL_lose_context)
35
36
} // namespace mozilla