LCOV - code coverage report
Current view: top level - layout/svg - nsSVGGenericContainerFrame.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 12 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: 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
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : // Main header first:
       7             : #include "nsSVGGenericContainerFrame.h"
       8             : #include "nsSVGIntegrationUtils.h"
       9             : 
      10             : //----------------------------------------------------------------------
      11             : // nsSVGGenericContainerFrame Implementation
      12             : 
      13             : nsIFrame*
      14           0 : NS_NewSVGGenericContainerFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
      15             : {
      16           0 :   return new (aPresShell) nsSVGGenericContainerFrame(aContext);
      17             : }
      18             : 
      19           0 : NS_IMPL_FRAMEARENA_HELPERS(nsSVGGenericContainerFrame)
      20             : 
      21             : //----------------------------------------------------------------------
      22             : // nsIFrame methods
      23             : 
      24             : nsresult
      25           0 : nsSVGGenericContainerFrame::AttributeChanged(int32_t         aNameSpaceID,
      26             :                                              nsIAtom*        aAttribute,
      27             :                                              int32_t         aModType)
      28             : {
      29             : #ifdef DEBUG
      30           0 :     nsAutoString str;
      31           0 :     aAttribute->ToString(str);
      32           0 :     printf("** nsSVGGenericContainerFrame::AttributeChanged(%s)\n",
      33           0 :            NS_LossyConvertUTF16toASCII(str).get());
      34             : #endif
      35             : 
      36           0 :   return NS_OK;
      37             : }
      38             : 
      39             : //----------------------------------------------------------------------
      40             : // nsSVGContainerFrame methods:
      41             : 
      42             : gfxMatrix
      43           0 : nsSVGGenericContainerFrame::GetCanvasTM()
      44             : {
      45           0 :   NS_ASSERTION(GetParent(), "null parent");
      46             : 
      47           0 :   return static_cast<nsSVGContainerFrame*>(GetParent())->GetCanvasTM();
      48             : }

Generated by: LCOV version 1.13