LCOV - code coverage report
Current view: top level - dom/base - BorrowedAttrInfo.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 5 10 50.0 %
Date: 2017-07-14 16:53:18 Functions: 1 2 50.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/BorrowedAttrInfo.h"
       8             : 
       9             : namespace mozilla {
      10             : namespace dom {
      11             : 
      12         908 : BorrowedAttrInfo::BorrowedAttrInfo(const nsAttrName* aName,
      13         908 :                                    const nsAttrValue* aValue)
      14             :   : mName(aName)
      15         908 :   , mValue(aValue)
      16             : {
      17         908 :   MOZ_ASSERT_IF(mName, mValue);
      18         908 : }
      19             : 
      20           0 : BorrowedAttrInfo::BorrowedAttrInfo(const BorrowedAttrInfo& aOther)
      21           0 :   : mName(aOther.mName)
      22           0 :   , mValue(aOther.mValue)
      23             : {
      24           0 :   MOZ_ASSERT_IF(mName, mValue);
      25           0 : }
      26             : 
      27             : } // namespace dom
      28             : } // namespace mozilla

Generated by: LCOV version 1.13