Fix bustage for bug 470911, try harder^2
This commit is contained in:
Родитель
3d6887bc86
Коммит
9b29319a1b
|
@ -123,8 +123,6 @@ private:
|
|||
nsresult ToDOMAnimVal(nsIDOMSVGPreserveAspectRatio **aResult,
|
||||
nsSVGElement* aSVGElement);
|
||||
|
||||
struct DOMBaseVal;
|
||||
friend struct DOMBaseVal;
|
||||
struct DOMBaseVal : public nsIDOMSVGPreserveAspectRatio
|
||||
{
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
@ -137,18 +135,16 @@ private:
|
|||
nsRefPtr<nsSVGElement> mSVGElement;
|
||||
|
||||
NS_IMETHOD GetAlign(PRUint16* aAlign)
|
||||
{ *aAlign = mVal->GetBaseValue().mAlign; return NS_OK; }
|
||||
{ *aAlign = mVal->GetBaseValue().GetAlign(); return NS_OK; }
|
||||
NS_IMETHOD SetAlign(PRUint16 aAlign)
|
||||
{ return mVal->SetBaseAlign(aAlign, mSVGElement); }
|
||||
|
||||
NS_IMETHOD GetMeetOrSlice(PRUint16* aMeetOrSlice)
|
||||
{ *aMeetOrSlice = mVal->GetBaseValue().mMeetOrSlice; return NS_OK; }
|
||||
{ *aMeetOrSlice = mVal->GetBaseValue().GetMeetOrSlice(); return NS_OK; }
|
||||
NS_IMETHOD SetMeetOrSlice(PRUint16 aMeetOrSlice)
|
||||
{ return mVal->SetBaseMeetOrSlice(aMeetOrSlice, mSVGElement); }
|
||||
};
|
||||
|
||||
struct DOMAnimVal;
|
||||
friend struct DOMAnimVal;
|
||||
struct DOMAnimVal : public nsIDOMSVGPreserveAspectRatio
|
||||
{
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
@ -161,12 +157,12 @@ private:
|
|||
nsRefPtr<nsSVGElement> mSVGElement;
|
||||
|
||||
NS_IMETHOD GetAlign(PRUint16* aAlign)
|
||||
{ *aAlign = mVal->GetBaseValue().mAlign; return NS_OK; }
|
||||
{ *aAlign = mVal->GetBaseValue().GetAlign(); return NS_OK; }
|
||||
NS_IMETHOD SetAlign(PRUint16 aAlign)
|
||||
{ return NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR; }
|
||||
|
||||
NS_IMETHOD GetMeetOrSlice(PRUint16* aMeetOrSlice)
|
||||
{ *aMeetOrSlice = mVal->GetBaseValue().mMeetOrSlice; return NS_OK; }
|
||||
{ *aMeetOrSlice = mVal->GetBaseValue().GetMeetOrSlice(); return NS_OK; }
|
||||
NS_IMETHOD SetMeetOrSlice(PRUint16 aValue)
|
||||
{ return NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR; }
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче