LCOV - code coverage report
Current view: top level - dom/svg - SVGPolygonElement.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 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             : #ifndef mozilla_dom_SVGPolygonElement_h
       8             : #define mozilla_dom_SVGPolygonElement_h
       9             : 
      10             : #include "mozilla/Attributes.h"
      11             : #include "SVGPolyElement.h"
      12             : 
      13             : nsresult NS_NewSVGPolygonElement(nsIContent **aResult,
      14             :                                  already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
      15             : 
      16             : namespace mozilla {
      17             : namespace dom {
      18             : 
      19             : typedef SVGPolyElement SVGPolygonElementBase;
      20             : 
      21           0 : class SVGPolygonElement final : public SVGPolygonElementBase
      22             : {
      23             : protected:
      24             :   explicit SVGPolygonElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo);
      25             :   virtual JSObject* WrapNode(JSContext *cx, JS::Handle<JSObject*> aGivenProto) override;
      26             :   friend nsresult (::NS_NewSVGPolygonElement(nsIContent **aResult,
      27             :                                              already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo));
      28             : 
      29             : public:
      30             :   // SVGGeometryElement methods:
      31             :   virtual void GetMarkPoints(nsTArray<nsSVGMark> *aMarks) override;
      32             :   virtual already_AddRefed<Path> BuildPath(PathBuilder* aBuilder) override;
      33             : 
      34             :   virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult,
      35             :                          bool aPreallocateChildren) const override;
      36             : };
      37             : 
      38             : } // namespace dom
      39             : } // namespace mozilla
      40             : 
      41             : #endif // mozilla_dom_SVGPolygonElement_h

Generated by: LCOV version 1.13