LCOV - code coverage report
Current view: top level - dom/media - VideoStreamTrack.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 8 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-*/
       2             : /* This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
       4             :  * You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #include "VideoStreamTrack.h"
       7             : 
       8             : #include "MediaStreamVideoSink.h"
       9             : #include "MediaStreamGraph.h"
      10             : 
      11             : #include "mozilla/dom/VideoStreamTrackBinding.h"
      12             : 
      13             : namespace mozilla {
      14             : namespace dom {
      15             : 
      16             : JSObject*
      17           0 : VideoStreamTrack::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
      18             : {
      19           0 :   return VideoStreamTrackBinding::Wrap(aCx, this, aGivenProto);
      20             : }
      21             : 
      22             : void
      23           0 : VideoStreamTrack::AddVideoOutput(MediaStreamVideoSink* aSink)
      24             : {
      25           0 :   GetOwnedStream()->AddVideoOutput(aSink, mTrackID);
      26           0 : }
      27             : 
      28             : void
      29           0 : VideoStreamTrack::RemoveVideoOutput(MediaStreamVideoSink* aSink)
      30             : {
      31           0 :   GetOwnedStream()->RemoveVideoOutput(aSink, mTrackID);
      32           0 : }
      33             : 
      34             : } // namespace dom
      35             : } // namespace mozilla

Generated by: LCOV version 1.13