LCOV - code coverage report
Current view: top level - dom/svg - SVGAnimatedRect.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 15 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 11 0.0 %
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 "SVGAnimatedRect.h"
       8             : #include "mozilla/dom/SVGAnimatedRectBinding.h"
       9             : #include "nsSVGElement.h"
      10             : #include "nsSVGViewBox.h"
      11             : #include "SVGIRect.h"
      12             : 
      13             : namespace mozilla {
      14             : namespace dom {
      15             : 
      16           0 : NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED(SVGAnimatedRect, mSVGElement)
      17             : 
      18           0 : NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(SVGAnimatedRect, AddRef)
      19           0 : NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(SVGAnimatedRect, Release)
      20             : 
      21           0 : SVGAnimatedRect::SVGAnimatedRect(nsSVGViewBox* aVal, nsSVGElement* aSVGElement)
      22             :   : mVal(aVal)
      23           0 :   , mSVGElement(aSVGElement)
      24             : {
      25           0 : }
      26             : 
      27           0 : SVGAnimatedRect::~SVGAnimatedRect()
      28             : {
      29           0 :   nsSVGViewBox::sSVGAnimatedRectTearoffTable.RemoveTearoff(mVal);
      30           0 : }
      31             : 
      32             : already_AddRefed<SVGIRect>
      33           0 : SVGAnimatedRect::GetBaseVal()
      34             : {
      35           0 :   return mVal->ToDOMBaseVal(mSVGElement);
      36             : }
      37             : 
      38             : already_AddRefed<SVGIRect>
      39           0 : SVGAnimatedRect::GetAnimVal()
      40             : {
      41           0 :   return mVal->ToDOMAnimVal(mSVGElement);
      42             : }
      43             : 
      44             : JSObject*
      45           0 : SVGAnimatedRect::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
      46             : {
      47           0 :   return SVGAnimatedRectBinding::Wrap(aCx, this, aGivenProto);
      48             : }
      49             : 
      50             : } // namespace dom
      51             : } // namespace mozilla

Generated by: LCOV version 1.13