summaryrefslogtreecommitdiffstats
path: root/ui/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 22:51:03 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 22:51:03 +0000
commitb086ce0fdb38bedffa7e22ac393a610922f17d37 (patch)
tree6327d10ff8f14adc03afaa71ef7ce0733f5af485 /ui/views
parenta71898fa709d64a289d193128905d78e55d33d5a (diff)
downloadchromium_src-b086ce0fdb38bedffa7e22ac393a610922f17d37.zip
chromium_src-b086ce0fdb38bedffa7e22ac393a610922f17d37.tar.gz
chromium_src-b086ce0fdb38bedffa7e22ac393a610922f17d37.tar.bz2
Fix compile on linux_views.
BUG=109665 TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9192001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views')
-rw-r--r--ui/views/examples/table_example.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/examples/table_example.cc b/ui/views/examples/table_example.cc
index 2a8f695..ab0dbb8 100644
--- a/ui/views/examples/table_example.cc
+++ b/ui/views/examples/table_example.cc
@@ -144,7 +144,7 @@ void TableExample::ButtonPressed(Button* sender, const Event& event) {
index = 3;
show = column4_visible_checkbox_->checked();
}
-#if !defined(USE_AURA)
+#if defined(OS_WIN) && !defined(USE_AURA)
table_->SetColumnVisibility(index, show);
#endif
}