summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 18:59:02 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 18:59:02 +0000
commita82ade7b4f9dc2341c8848b94bfc1e0c92108cf3 (patch)
tree55b005aa88b640a3707f56e0b8c51a2553fcea2b /views/widget
parent8d54b798b9f37ec946f731618e2dd81517f448a7 (diff)
downloadchromium_src-a82ade7b4f9dc2341c8848b94bfc1e0c92108cf3.zip
chromium_src-a82ade7b4f9dc2341c8848b94bfc1e0c92108cf3.tar.gz
chromium_src-a82ade7b4f9dc2341c8848b94bfc1e0c92108cf3.tar.bz2
Fixed for touch build
BUG=none TEST=none Review URL: http://codereview.chromium.org/7285007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/widget.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/views/widget/widget.cc b/views/widget/widget.cc
index 82f3fec..b42f355 100644
--- a/views/widget/widget.cc
+++ b/views/widget/widget.cc
@@ -196,11 +196,9 @@ void Widget::SetPureViews(bool pure) {
// static
bool Widget::IsPureViews() {
-#if defined(TOUCH_UI)
- return true;
-#else
+// TODO(saintlou): we would like #if defined(TOUCH_UI) => return true.
+// However at the moment another bug is preventing us from doing that.
return use_pure_views;
-#endif
}
// static