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
|
@ -50,7 +50,7 @@ ZoomLevelDelegate::ZoomLevelDelegate(PrefService* pref_service,
|
|||
partition_key_ = GetHash(partition_path);
|
||||
}
|
||||
|
||||
ZoomLevelDelegate::~ZoomLevelDelegate() {}
|
||||
ZoomLevelDelegate::~ZoomLevelDelegate() = default;
|
||||
|
||||
void ZoomLevelDelegate::SetDefaultZoomLevelPref(double level) {
|
||||
if (content::ZoomValuesEqual(level, host_zoom_map_->GetDefaultZoomLevel()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue