diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-01 23:54:44 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-01 23:54:44 +0000 |
commit | 59a7ae4e1e6457bfd23c235209bd594471efef95 (patch) | |
tree | 431b908c9b859eb8b85229e9a860e8b0f4c70887 /ui/base/layout.cc | |
parent | 07cb03a3088dda659d66522c69bbedef677f195e (diff) | |
download | chromium_src-59a7ae4e1e6457bfd23c235209bd594471efef95.zip chromium_src-59a7ae4e1e6457bfd23c235209bd594471efef95.tar.gz chromium_src-59a7ae4e1e6457bfd23c235209bd594471efef95.tar.bz2 |
Delete some unused code found by -Wunused-function
BUG=none,100309
Review URL: https://chromiumcodereview.appspot.com/10977073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/layout.cc')
-rw-r--r-- | ui/base/layout.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/base/layout.cc b/ui/base/layout.cc index 4ae7805..84b3712 100644 --- a/ui/base/layout.cc +++ b/ui/base/layout.cc @@ -30,6 +30,7 @@ namespace { +#if defined(OS_WIN) || defined(USE_ASH) // Helper function that determines whether we want to optimize the UI for touch. bool UseTouchOptimizedUI() { // If --touch-optimized-ui is specified and not set to "auto", then override @@ -59,6 +60,7 @@ bool UseTouchOptimizedUI() { return false; #endif } +#endif // defined(OS_WIN) || defined(USE_ASH) const float kScaleFactorScales[] = {1.0f, 1.4f, 1.8f, 2.0f}; COMPILE_ASSERT(ui::NUM_SCALE_FACTORS == arraysize(kScaleFactorScales), |