зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/payments. r=smaug
Depends on D66022 Differential Revision: https://phabricator.services.mozilla.com/D66023 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
8ebceba535
Коммит
5e3c24c886
|
@ -78,7 +78,7 @@ void PaymentAddress::GetRecipient(nsAString& aRetVal) const {
|
|||
|
||||
void PaymentAddress::GetPhone(nsAString& aRetVal) const { aRetVal = mPhone; }
|
||||
|
||||
PaymentAddress::~PaymentAddress() {}
|
||||
PaymentAddress::~PaymentAddress() = default;
|
||||
|
||||
JSObject* PaymentAddress::WrapObject(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aGivenProto) {
|
||||
|
|
|
@ -149,7 +149,7 @@ void PaymentRequestUpdateEvent::SetRequest(PaymentRequest* aRequest) {
|
|||
mRequest = aRequest;
|
||||
}
|
||||
|
||||
PaymentRequestUpdateEvent::~PaymentRequestUpdateEvent() {}
|
||||
PaymentRequestUpdateEvent::~PaymentRequestUpdateEvent() = default;
|
||||
|
||||
JSObject* PaymentRequestUpdateEvent::WrapObjectInternal(
|
||||
JSContext* aCx, JS::Handle<JSObject*> aGivenProto) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче