Bug 633315: Make "namespace mozilla" usage consistent across DOMSVG*List.cpp files. r+a=roc

This commit is contained in:
Daniel Holbert 2011-02-15 23:53:43 -08:00
Родитель 7fe959bc9d
Коммит 1919c3a4a0
6 изменённых файлов: 24 добавлений и 10 удалений

Просмотреть файл

@ -53,7 +53,7 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(DOMSVGAnimatedLengthList, mElement)
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGAnimatedLengthList)
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGAnimatedLengthList)
}
} // namespace mozilla
DOMCI_DATA(SVGAnimatedLengthList, mozilla::DOMSVGAnimatedLengthList)
namespace mozilla {

Просмотреть файл

@ -43,7 +43,7 @@
// See the architecture comment in this file's header.
using namespace mozilla;
namespace mozilla {
static nsSVGAttrTearoffTable<SVGAnimatedNumberList, DOMSVGAnimatedNumberList>
sSVGAnimatedNumberListTearoffTable;
@ -53,7 +53,9 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(DOMSVGAnimatedNumberList, mElement)
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGAnimatedNumberList)
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGAnimatedNumberList)
DOMCI_DATA(SVGAnimatedNumberList, DOMSVGAnimatedNumberList)
} // namespace mozilla
DOMCI_DATA(SVGAnimatedNumberList, mozilla::DOMSVGAnimatedNumberList)
namespace mozilla {
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGAnimatedNumberList)
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedNumberList)
@ -158,3 +160,5 @@ DOMSVGAnimatedNumberList::InternalAList() const
{
return *mElement->GetAnimatedNumberList(mAttrEnum);
}
} // namespace mozilla

Просмотреть файл

@ -62,7 +62,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGLengthList)
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGLengthList)
}
} // namespace mozilla
DOMCI_DATA(SVGLengthList, mozilla::DOMSVGLengthList)
namespace mozilla {

Просмотреть файл

@ -43,7 +43,7 @@
// See the comment in this file's header.
using namespace mozilla;
namespace mozilla {
// We could use NS_IMPL_CYCLE_COLLECTION_1, except that in Unlink() we need to
// clear our DOMSVGAnimatedNumberList's weak ref to us to be safe. (The other
@ -62,7 +62,9 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGNumberList)
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGNumberList)
DOMCI_DATA(SVGNumberList, DOMSVGNumberList)
} // namespace mozilla
DOMCI_DATA(SVGNumberList, mozilla::DOMSVGNumberList)
namespace mozilla {
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGNumberList)
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGNumberList)
@ -345,3 +347,5 @@ DOMSVGNumberList::EnsureItemAt(PRUint32 aIndex)
mItems[aIndex] = new DOMSVGNumber(this, AttrEnum(), aIndex, IsAnimValList());
}
}
} // namespace mozilla

Просмотреть файл

@ -44,7 +44,7 @@
// See the comment in this file's header.
using namespace mozilla;
namespace mozilla {
static nsSVGAttrTearoffTable<void, DOMSVGPathSegList>
sSVGPathSegListTearoffTable;
@ -54,7 +54,9 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(DOMSVGPathSegList, mElement)
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGPathSegList)
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGPathSegList)
DOMCI_DATA(SVGPathSegList, DOMSVGPathSegList)
} // namespace mozilla
DOMCI_DATA(SVGPathSegList, mozilla::DOMSVGPathSegList)
namespace mozilla {
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGPathSegList)
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGPathSegList)
@ -499,3 +501,4 @@ DOMSVGPathSegList::EnsureItemAt(PRUint32 aIndex)
}
}
} // namespace mozilla

Просмотреть файл

@ -44,7 +44,7 @@
// See the comment in this file's header.
using namespace mozilla;
namespace mozilla {
static nsSVGAttrTearoffTable<void, DOMSVGPointList>
sSVGPointListTearoffTable;
@ -54,7 +54,9 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(DOMSVGPointList, mElement)
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGPointList)
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGPointList)
DOMCI_DATA(SVGPointList, DOMSVGPointList)
} // namespace mozilla
DOMCI_DATA(SVGPointList, mozilla::DOMSVGPointList)
namespace mozilla {
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGPointList)
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGPointList)
@ -396,3 +398,4 @@ DOMSVGPointList::EnsureItemAt(PRUint32 aIndex)
}
}
} // namespace mozilla