Skip to content

Commit

Permalink
[chrome] Default the user-defined empty ctor and dtor where possible
Browse files Browse the repository at this point in the history
I need an owner's approval please for changes under:
chrome/browser/ui/hung_renderer

This is a mechanical change. There are a few instances of empty
user-defined constructors and destructors left in the /chrome code
which can be defaulted.

This CL was uploaded by git cl split.

R=bsep@chromium.org

Bug: 381119547
Change-Id: I91b9978cb26acba8eea8856153822654b1f62027
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6056070
Reviewed-by: Peter Boström <pbos@chromium.org>
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1389205}
  • Loading branch information
sorinj authored and pull[bot] committed Dec 2, 2024
1 parent 92aaab8 commit 34120fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@

class HungRendererNavigationTest : public InProcessBrowserTest {
public:
HungRendererNavigationTest() {}
HungRendererNavigationTest() = default;

HungRendererNavigationTest(const HungRendererNavigationTest&) = delete;
HungRendererNavigationTest& operator=(const HungRendererNavigationTest&) =
delete;

~HungRendererNavigationTest() override {}
~HungRendererNavigationTest() override = default;

protected:
void SetUpOnMainThread() override {
Expand Down

0 comments on commit 34120fb

Please sign in to comment.