Bug 1422541 - port bug 1420954 to mailnews [Make nsIURIMutator setters return nsIURIMutator]. rs=bustage-fix
This commit is contained in:
Родитель
09ed1adeb7
Коммит
6894ea6448
|
@ -45,7 +45,7 @@ public:
|
|||
, public BaseURIMutator<nsLDAPURL>
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_FORWARD_SAFE_NSIURISETTERS(mURI)
|
||||
NS_FORWARD_SAFE_NSIURISETTERS_RET(mURI)
|
||||
|
||||
NS_IMETHOD Deserialize(const mozilla::ipc::URIParams& aParams) override
|
||||
{
|
||||
|
@ -63,8 +63,9 @@ public:
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec) override
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec, nsIURIMutator** aMutator) override
|
||||
{
|
||||
NS_ADDREF(*aMutator = this);
|
||||
return InitFromSpec(aSpec);
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
, public BaseURIMutator<nsAddbookUrl>
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_FORWARD_SAFE_NSIURISETTERS(mURI)
|
||||
NS_FORWARD_SAFE_NSIURISETTERS_RET(mURI)
|
||||
|
||||
NS_IMETHOD Deserialize(const mozilla::ipc::URIParams& aParams) override
|
||||
{
|
||||
|
@ -44,8 +44,9 @@ public:
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec) override
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec, nsIURIMutator** aMutator) override
|
||||
{
|
||||
NS_ADDREF(*aMutator = this);
|
||||
return InitFromSpec(aSpec);
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
, public BaseURIMutator<nsMsgMailNewsUrl>
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_FORWARD_SAFE_NSIURISETTERS(mURI)
|
||||
NS_FORWARD_SAFE_NSIURISETTERS_RET(mURI)
|
||||
|
||||
NS_IMETHOD Deserialize(const mozilla::ipc::URIParams& aParams) override
|
||||
{
|
||||
|
@ -74,8 +74,9 @@ public:
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec) override
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec, nsIURIMutator** aMutator) override
|
||||
{
|
||||
NS_ADDREF(*aMutator = this);
|
||||
return InitFromSpec(aSpec);
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
, public BaseURIMutator<nsMailtoUrl>
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_FORWARD_SAFE_NSIURISETTERS(mURI)
|
||||
NS_FORWARD_SAFE_NSIURISETTERS_RET(mURI)
|
||||
|
||||
NS_IMETHOD Deserialize(const mozilla::ipc::URIParams& aParams) override
|
||||
{
|
||||
|
@ -51,8 +51,9 @@ public:
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec) override
|
||||
NS_IMETHOD SetSpec(const nsACString & aSpec, nsIURIMutator** aMutator) override
|
||||
{
|
||||
NS_ADDREF(*aMutator = this);
|
||||
return InitFromSpec(aSpec);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче