LCOV - code coverage report
Current view: top level - dom/canvas - WebGLExtensionBase.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 12 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 9 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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           0 : WebGLExtensionBase::WebGLExtensionBase(WebGLContext* context)
      11             :     : WebGLContextBoundObject(context)
      12           0 :     , mIsLost(false)
      13             : {
      14           0 : }
      15             : 
      16           0 : WebGLExtensionBase::~WebGLExtensionBase()
      17             : {
      18           0 : }
      19             : 
      20             : void
      21           0 : WebGLExtensionBase::MarkLost()
      22             : {
      23           0 :     mIsLost = true;
      24             : 
      25           0 :     OnMarkLost();
      26           0 : }
      27             : 
      28           0 : NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_0(WebGLExtensionBase)
      29             : 
      30           0 : NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(WebGLExtensionBase, AddRef)
      31           0 : NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(WebGLExtensionBase, Release)
      32             : 
      33             : } // namespace mozilla

Generated by: LCOV version 1.13