LCOV - code coverage report
Current view: top level - dom/svg - SVGGraphicsElement.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 8 12 66.7 %
Date: 2017-07-14 16:53:18 Functions: 4 7 57.1 %
Legend: Lines: hit not hit

          Line data    Source code
       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 "mozilla/dom/SVGGraphicsElement.h"
       8             : 
       9             : namespace mozilla {
      10             : namespace dom {
      11             : 
      12             : //----------------------------------------------------------------------
      13             : // nsISupports methods
      14             : 
      15        2787 : NS_IMPL_ADDREF_INHERITED(SVGGraphicsElement, SVGGraphicsElementBase)
      16        2105 : NS_IMPL_RELEASE_INHERITED(SVGGraphicsElement, SVGGraphicsElementBase)
      17             : 
      18        1396 : NS_INTERFACE_MAP_BEGIN(SVGGraphicsElement)
      19        1396 :   NS_INTERFACE_MAP_ENTRY(mozilla::dom::SVGTests)
      20        1014 : NS_INTERFACE_MAP_END_INHERITING(SVGGraphicsElementBase)
      21             : 
      22             : //----------------------------------------------------------------------
      23             : // Implementation
      24             : 
      25         143 : SVGGraphicsElement::SVGGraphicsElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
      26         143 :   : SVGGraphicsElementBase(aNodeInfo)
      27             : {
      28         143 : }
      29             : 
      30           0 : SVGGraphicsElement::~SVGGraphicsElement()
      31             : {
      32           0 : }
      33             : 
      34             : bool
      35           0 : SVGGraphicsElement::IsInChromeDoc() const
      36             : {
      37           0 :   return nsContentUtils::IsChromeDoc(OwnerDoc());
      38             : }
      39             : 
      40             : } // namespace dom
      41             : } // namespace mozilla

Generated by: LCOV version 1.13