Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
index 459907ccbd3b9f30e0d4d88848dfcf56b1b6a22c..f1656dd8fac6625fe92ebc9dd8ce0196084a163f 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -398,12 +398,11 @@ class LoadingAnimationView : public views::View, |
ui::ResourceBundle::LargeFont); |
animation_.reset(new LoadingAnimation(this, font_list.GetHeight())); |
- views::Label* label = new views::Label(text, font_list); |
- container_->AddChildView(label); |
+ container_->AddChildView(new views::Label(text, font_list)); |
for (size_t i = 0; i < 3; ++i) { |
- views::Label* dot = new views::Label(base::ASCIIToUTF16("."), font_list); |
- container_->AddChildView(dot); |
+ container_->AddChildView( |
+ new views::Label(base::ASCIIToUTF16("."), font_list)); |
} |
OnNativeThemeChanged(GetNativeTheme()); |