LCOV - code coverage report
Current view: top level - dom/performance - PerformanceMark.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 10 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 4 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 "PerformanceMark.h"
       8             : #include "MainThreadUtils.h"
       9             : #include "mozilla/dom/PerformanceMarkBinding.h"
      10             : 
      11             : using namespace mozilla::dom;
      12             : 
      13           0 : PerformanceMark::PerformanceMark(nsISupports* aParent,
      14             :                                  const nsAString& aName,
      15           0 :                                  DOMHighResTimeStamp aStartTime)
      16           0 :   : PerformanceEntry(aParent, aName, NS_LITERAL_STRING("mark"))
      17           0 :   , mStartTime(aStartTime)
      18             : {
      19             :   // mParent is null in workers.
      20           0 :   MOZ_ASSERT(mParent || !NS_IsMainThread());
      21           0 : }
      22             : 
      23           0 : PerformanceMark::~PerformanceMark()
      24             : {
      25           0 : }
      26             : 
      27             : JSObject*
      28           0 : PerformanceMark::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
      29             : {
      30           0 :   return PerformanceMarkBinding::Wrap(aCx, this, aGivenProto);
      31             : }

Generated by: LCOV version 1.13