LCOV - code coverage report
Current view: top level - layout/style - CSSKeyframeRule.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 2 10 20.0 %
Date: 2017-07-14 16:53:18 Functions: 2 5 40.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/CSSKeyframeRule.h"
       8             : 
       9             : #include "mozilla/dom/CSSKeyframeRuleBinding.h"
      10             : #include "nsICSSDeclaration.h"
      11             : 
      12             : namespace mozilla {
      13             : namespace dom {
      14             : 
      15         156 : NS_IMPL_ADDREF_INHERITED(CSSKeyframeRule, mozilla::css::Rule)
      16          78 : NS_IMPL_RELEASE_INHERITED(CSSKeyframeRule, mozilla::css::Rule)
      17             : 
      18             : // QueryInterface implementation for CSSKeyframeRule
      19           0 : NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(CSSKeyframeRule)
      20           0 :   NS_INTERFACE_MAP_ENTRY(nsIDOMCSSKeyframeRule)
      21           0 : NS_INTERFACE_MAP_END_INHERITING(mozilla::css::Rule)
      22             : 
      23             : NS_IMETHODIMP
      24           0 : CSSKeyframeRule::GetStyle(nsIDOMCSSStyleDeclaration** aStyle)
      25             : {
      26           0 :   NS_ADDREF(*aStyle = Style());
      27           0 :   return NS_OK;
      28             : }
      29             : 
      30             : /* virtual */ JSObject*
      31           0 : CSSKeyframeRule::WrapObject(JSContext* aCx,
      32             :                             JS::Handle<JSObject*> aGivenProto)
      33             : {
      34           0 :   return CSSKeyframeRuleBinding::Wrap(aCx, this, aGivenProto);
      35             : }
      36             : 
      37             : } // namespace dom
      38             : } // namespace mozilla

Generated by: LCOV version 1.13