/src/mozilla-central/dom/svg/SVGSymbolElement.cpp
Line | Count | Source (jump to first uncovered line) |
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/SVGSymbolElement.h" |
8 | | #include "mozilla/dom/SVGSymbolElementBinding.h" |
9 | | |
10 | | NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Symbol) |
11 | | |
12 | | namespace mozilla { |
13 | | namespace dom { |
14 | | |
15 | | JSObject* |
16 | | SVGSymbolElement::WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto) |
17 | 0 | { |
18 | 0 | return SVGSymbolElement_Binding::Wrap(aCx, this, aGivenProto); |
19 | 0 | } |
20 | | |
21 | | //---------------------------------------------------------------------- |
22 | | // nsISupports methods |
23 | | |
24 | | NS_IMPL_ISUPPORTS_INHERITED(SVGSymbolElement, SVGSymbolElementBase, |
25 | | mozilla::dom::SVGTests) |
26 | | |
27 | | //---------------------------------------------------------------------- |
28 | | // Implementation |
29 | | |
30 | | SVGSymbolElement::SVGSymbolElement(already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo) |
31 | | : SVGSymbolElementBase(std::move(aNodeInfo)) |
32 | 0 | { |
33 | 0 | } |
34 | | |
35 | | SVGSymbolElement::~SVGSymbolElement() |
36 | 0 | { |
37 | 0 | } |
38 | | |
39 | | //---------------------------------------------------------------------- |
40 | | // nsINode methods |
41 | | |
42 | | NS_IMPL_ELEMENT_CLONE_WITH_INIT(SVGSymbolElement) |
43 | | |
44 | | } // namespace dom |
45 | | } // namespace mozilla |