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

Unified Diff: views/controls/table/native_table_win.cc

Issue 6902069: Increase warning level to 4 on Visual Studio (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed remaining issues Created 9 years, 8 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 | « net/third_party/nss/ssl.gyp ('k') | views/view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/table/native_table_win.cc
diff --git a/views/controls/table/native_table_win.cc b/views/controls/table/native_table_win.cc
index 4d5f69f1af07423d4ebd118717887ef0f7a2c203..56b0c7196ec3da1326effc360c83e9d4a0ef6fcc 100644
--- a/views/controls/table/native_table_win.cc
+++ b/views/controls/table/native_table_win.cc
@@ -586,7 +586,7 @@ void NativeTableWin::UpdateListViewCache(int start, int length, bool add) {
item.mask |= LVIF_IMAGE;
for (size_t j = start_column; j < table_->GetVisibleColumnCount(); ++j) {
- TableColumn& col = table_->GetVisibleColumnAt(j);
+ TableColumn col = table_->GetVisibleColumnAt(j);
int max_text_width = ListView_GetStringWidth(native_view(),
col.title.c_str());
for (int i = start; i < max_row; ++i) {
« no previous file with comments | « net/third_party/nss/ssl.gyp ('k') | views/view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698