Skip to content

Commit

Permalink
Bug 1613985 - Use default for equivalent-to-default constructors/dest…
Browse files Browse the repository at this point in the history
…ructors in dom/broadcastchannel. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D63138

--HG--
extra : moz-landing-system : lando
  • Loading branch information
sigiesec committed Feb 20, 2020
1 parent 0f94fbf commit 247afb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/broadcastchannel/BroadcastChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class CloseRunnable final : public nsIRunnable, public nsICancelableRunnable {
nsresult Cancel() override { return NS_OK; }

private:
~CloseRunnable() {}
~CloseRunnable() = default;

RefPtr<BroadcastChannel> mBC;
};
Expand Down

0 comments on commit 247afb5

Please sign in to comment.