chore: use =default for default constructors/destructors (#29511)

This commit is contained in:
David Sanders
2021-06-03 21:16:13 -07:00
committed by GitHub
parent b1d1ac6524
commit 81c5da5221
44 changed files with 68 additions and 61 deletions

View File

@@ -18,7 +18,7 @@ ImageView::ImageView() : View(new views::ImageView()) {
view()->set_owned_by_client();
}
ImageView::~ImageView() {}
ImageView::~ImageView() = default;
void ImageView::SetImage(const gfx::Image& image) {
image_view()->SetImage(image.AsImageSkia());