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

Unified Diff: chrome/browser/views/autofill_profiles_view_win.cc

Issue 3080039: Autofill: Two small fixes. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 4 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
Index: chrome/browser/views/autofill_profiles_view_win.cc
diff --git a/chrome/browser/views/autofill_profiles_view_win.cc b/chrome/browser/views/autofill_profiles_view_win.cc
index f902aa6cab976e604e43e6af87670658cd99b310..7468e339bbd1257696ffd4b57c8a38f91b14f2ee 100644
--- a/chrome/browser/views/autofill_profiles_view_win.cc
+++ b/chrome/browser/views/autofill_profiles_view_win.cc
@@ -420,11 +420,7 @@ void AutoFillProfilesView::Init() {
table_model_.reset(new ContentListTableModel(&profiles_set_,
&credit_card_set_));
std::vector<TableColumn> columns;
- columns.resize(1);
- columns[0] = TableColumn(IDS_AUTOFILL_LIST_HEADER_SUMMARY,
- TableColumn::LEFT, -1, .67f);
- columns.back().sortable = false;
-
+ columns.push_back(TableColumn());
scroll_view_ = new views::TableView(table_model_.get(), columns,
views::TEXT_ONLY, false, true, true);
scroll_view_->SetObserver(this);

Powered by Google App Engine
This is Rietveld 408576698