| Index: ash/touch/touch_transformer_controller.cc
|
| diff --git a/ash/touch/touch_transformer_controller.cc b/ash/touch/touch_transformer_controller.cc
|
| index 8ff8ad5c3ea4afc931b2a3a412d7a4e81e6e4667..0cf36f3b327b4a5fd7e02ea17817451d2cefa100 100644
|
| --- a/ash/touch/touch_transformer_controller.cc
|
| +++ b/ash/touch/touch_transformer_controller.cc
|
| @@ -35,7 +35,7 @@ DisplayManager* GetDisplayManager() {
|
| // sqrt of (display_area / touchscreen_area)
|
| double TouchTransformerController::GetTouchResolutionScale(
|
| const DisplayInfo& touch_display) const {
|
| - if (touch_display.touch_device_id() == 0)
|
| + if (touch_display.touch_device_id() == 0u)
|
| return 1.0;
|
|
|
| double min_x, max_x;
|
| @@ -77,8 +77,7 @@ gfx::Transform
|
| TouchTransformerController::GetExtendedModeTouchTransformer(
|
| const DisplayInfo& touch_display, const gfx::Size& fb_size) const {
|
| gfx::Transform ctm;
|
| - if (touch_display.touch_device_id() == 0 ||
|
| - fb_size.width() == 0.0 ||
|
| + if (touch_display.touch_device_id() == 0u || fb_size.width() == 0.0 ||
|
| fb_size.height() == 0.0)
|
| return ctm;
|
| float width = touch_display.bounds_in_native().width();
|
| @@ -92,7 +91,7 @@ bool TouchTransformerController::ShouldComputeMirrorModeTouchTransformer(
|
| if (force_compute_mirror_mode_touch_transformer_)
|
| return true;
|
|
|
| - if (touch_display.touch_device_id() == 0)
|
| + if (touch_display.touch_device_id() == 0u)
|
| return false;
|
|
|
| if (touch_display.size_in_pixel() == touch_display.GetNativeModeSize() ||
|
|
|