зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1632207 - Intermittent bustage failure: member access into incomplete type 'mozilla::dom::DOMSVGLength' r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D72013
This commit is contained in:
Родитель
a6640ce0a3
Коммит
ef0384e257
|
@ -70,6 +70,13 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGLengthList)
|
|||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
void DOMSVGLengthList::IndexedSetter(uint32_t index, DOMSVGLength& newValue,
|
||||
ErrorResult& error) {
|
||||
// Need to take a ref to the return value so it does not leak.
|
||||
RefPtr<DOMSVGLength> ignored = ReplaceItem(newValue, index, error);
|
||||
Unused << ignored;
|
||||
}
|
||||
|
||||
JSObject* DOMSVGLengthList::WrapObject(JSContext* cx,
|
||||
JS::Handle<JSObject*> aGivenProto) {
|
||||
return mozilla::dom::SVGLengthList_Binding::Wrap(cx, this, aGivenProto);
|
||||
|
|
|
@ -122,11 +122,7 @@ class DOMSVGLengthList final : public nsISupports, public nsWrapperCache {
|
|||
return InsertItemBefore(newItem, LengthNoFlush(), error);
|
||||
}
|
||||
void IndexedSetter(uint32_t index, DOMSVGLength& newValue,
|
||||
ErrorResult& error) {
|
||||
// Need to take a ref to the return value so it does not leak.
|
||||
RefPtr<DOMSVGLength> ignored = ReplaceItem(newValue, index, error);
|
||||
Unused << ignored;
|
||||
}
|
||||
ErrorResult& error);
|
||||
uint32_t Length() const { return NumberOfItems(); }
|
||||
|
||||
private:
|
||||
|
|
Загрузка…
Ссылка в новой задаче