diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 19:36:33 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 19:36:33 +0000 |
commit | 598080084e438cf5ca26f2a6a02e9153e4586c1d (patch) | |
tree | c07fb365c33ef8b2d9c555a37a3d6749548f168b /views/touchui/touch_factory.cc | |
parent | e90befcc3d54378cb77ff399c4f0be7d4e33c458 (diff) | |
download | chromium_src-598080084e438cf5ca26f2a6a02e9153e4586c1d.zip chromium_src-598080084e438cf5ca26f2a6a02e9153e4586c1d.tar.gz chromium_src-598080084e438cf5ca26f2a6a02e9153e4586c1d.tar.bz2 |
Some style changes (for readability).
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6675048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/touchui/touch_factory.cc')
-rw-r--r-- | views/touchui/touch_factory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/touchui/touch_factory.cc b/views/touchui/touch_factory.cc index aeb1de2..c363492 100644 --- a/views/touchui/touch_factory.cc +++ b/views/touchui/touch_factory.cc @@ -55,7 +55,7 @@ TouchFactory::TouchFactory() } } if (devlist) - XFreeDeviceList(devlist); + XFreeDeviceList(devlist); } TouchFactory::~TouchFactory() { @@ -77,7 +77,7 @@ void TouchFactory::SetTouchDeviceList( } } -bool TouchFactory::IsTouchDevice(unsigned deviceid) { +bool TouchFactory::IsTouchDevice(unsigned deviceid) const { return deviceid < touch_device_lookup_.size() ? touch_device_lookup_[deviceid] : false; } |