Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: ui/ozone/platform/egltest/ozone_platform_egltest.cc

Issue 1071193002: Change device IDs from unsigned to signed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more test fixes Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
index 1e8ca15e88cb0c20c4546c4f887d6172d25e198a..42ce0a8d6e768c1935c61e89c997000e6c6f9db1 100644
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
@@ -56,7 +56,7 @@ std::string GetShimLibraryName() {
void ScaleTouchEvent(TouchEvent* event, const gfx::SizeF& size) {
for (const auto& device :
DeviceDataManager::GetInstance()->touchscreen_devices()) {
- if (device.id == static_cast<unsigned int>(event->source_device_id())) {
+ if (device.id == event->source_device_id()) {
gfx::SizeF touchscreen_size = device.size;
gfx::PointF location = event->location_f();

Powered by Google App Engine
This is Rietveld 408576698