Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1460)

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 114033005: Clean-up: Fixes style issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698