Index: ash/touch/touchscreen_util.cc |
diff --git a/ash/touch/touchscreen_util.cc b/ash/touch/touchscreen_util.cc |
index b7f0b994ae7d2678ca93093858522ece54acbe1d..898c9248a33cd466e244d713bac56a016b25f9a8 100644 |
--- a/ash/touch/touchscreen_util.cc |
+++ b/ash/touch/touchscreen_util.cc |
@@ -7,6 +7,7 @@ |
#include <set> |
#include "base/logging.h" |
+#include "ui/events/input_device.h" |
namespace ash { |
@@ -15,7 +16,7 @@ void AssociateTouchscreens(std::vector<DisplayInfo>* displays, |
std::set<int> no_match_touchscreen; |
int internal_touchscreen = -1; |
for (size_t i = 0; i < devices.size(); ++i) { |
- if (devices[i].is_internal) { |
+ if (devices[i].type == ui::InputDeviceType::INPUT_DEVICE_INTERNAL) { |
internal_touchscreen = i; |
break; |
} |