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

Unified Diff: Source/platform/PlatformTouchPoint.h

Issue 1170703003: Touch.identifier should be long, not unsigned long (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating as per review comments Created 5 years, 6 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: Source/platform/PlatformTouchPoint.h
diff --git a/Source/platform/PlatformTouchPoint.h b/Source/platform/PlatformTouchPoint.h
index 578f520d77140d0cdb3457b329f5f6db7c5cb18a..3f9ecec27ae3dc5daf0526ac0fb62bf50d046f76 100644
--- a/Source/platform/PlatformTouchPoint.h
+++ b/Source/platform/PlatformTouchPoint.h
@@ -43,7 +43,7 @@ public:
{
}
- unsigned id() const { return m_id; }
+ int id() const { return m_id; }
State state() const { return m_state; }
FloatPoint screenPos() const { return m_screenPos; }
FloatPoint pos() const { return m_pos; }
@@ -52,7 +52,7 @@ public:
float force() const { return m_force; }
protected:
- unsigned m_id;
+ int m_id;
State m_state;
FloatPoint m_screenPos;
FloatPoint m_pos;

Powered by Google App Engine
This is Rietveld 408576698