Bug 1700051: part 46) Const-qualify `mozInlineSpellStatus::mAnchorRange`. r=smaug
[gecko.git] / dom / svg / DOMSVGAnimatedString.cpp
blob47a68e80d4ae1bea8b3245f1cec4ca0bf588c833
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/. */
7 #include "DOMSVGAnimatedString.h"
9 #include "mozilla/dom/SVGAnimatedStringBinding.h"
11 namespace mozilla {
12 namespace dom {
14 NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED(DOMSVGAnimatedString,
15 mSVGElement)
17 NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(DOMSVGAnimatedString, AddRef)
18 NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(DOMSVGAnimatedString, Release)
20 JSObject* DOMSVGAnimatedString::WrapObject(JSContext* aCx,
21 JS::Handle<JSObject*> aGivenProto) {
22 return SVGAnimatedString_Binding::Wrap(aCx, this, aGivenProto);
25 } // namespace dom
26 } // namespace mozilla