refactor: run clang-tidy (#20231)
* refactor: clang-tidy modernize-use-nullptr * refactor: clang-tidy modernize-use-equals-default * refactor: clang-tidy modernize-make-unique * refactor: omit nullptr arg from unique_ptr.reset() As per comment by @miniak
This commit is contained in:
parent
660e566201
commit
2b316f3843
93 changed files with 261 additions and 223 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include "shell/browser/atom_autofill_driver.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "content/public/browser/render_widget_host_view.h"
|
||||
|
@ -16,11 +18,11 @@ AutofillDriver::AutofillDriver(
|
|||
content::RenderFrameHost* render_frame_host,
|
||||
mojom::ElectronAutofillDriverAssociatedRequest request)
|
||||
: render_frame_host_(render_frame_host), binding_(this) {
|
||||
autofill_popup_.reset(new AutofillPopup());
|
||||
autofill_popup_ = std::make_unique<AutofillPopup>();
|
||||
binding_.Bind(std::move(request));
|
||||
}
|
||||
|
||||
AutofillDriver::~AutofillDriver() {}
|
||||
AutofillDriver::~AutofillDriver() = default;
|
||||
|
||||
void AutofillDriver::ShowAutofillPopup(
|
||||
const gfx::RectF& bounds,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue