LCOV - code coverage report
Current view: top level - dom/svg - SVGAnimatedLength.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 13 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 8 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 "mozilla/dom/SVGAnimatedLength.h"
       8             : #include "mozilla/dom/SVGAnimatedLengthBinding.h"
       9             : #include "nsSVGLength2.h"
      10             : #include "DOMSVGLength.h"
      11             : 
      12             : namespace mozilla {
      13             : namespace dom {
      14             : 
      15           0 : NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED(SVGAnimatedLength, mSVGElement)
      16             : 
      17           0 : NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(SVGAnimatedLength, AddRef)
      18           0 : NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(SVGAnimatedLength, Release)
      19             : 
      20             : JSObject*
      21           0 : SVGAnimatedLength::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
      22             : {
      23           0 :   return SVGAnimatedLengthBinding::Wrap(aCx, this, aGivenProto);
      24             : }
      25             : 
      26             : already_AddRefed<DOMSVGLength>
      27           0 : SVGAnimatedLength::BaseVal()
      28             : {
      29           0 :   RefPtr<DOMSVGLength> angle;
      30           0 :   mVal->ToDOMBaseVal(getter_AddRefs(angle), mSVGElement);
      31           0 :   return angle.forget();
      32             : }
      33             : 
      34             : already_AddRefed<DOMSVGLength>
      35           0 : SVGAnimatedLength::AnimVal()
      36             : {
      37           0 :   RefPtr<DOMSVGLength> angle;
      38           0 :   mVal->ToDOMAnimVal(getter_AddRefs(angle), mSVGElement);
      39           0 :   return angle.forget();
      40             : }
      41             : 
      42             : } // namespace dom
      43             : } // namespace mozilla

Generated by: LCOV version 1.13