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

Unified Diff: sky/engine/public/platform/WebInputEvent.h

Issue 880473003: sky-scrollable should use a reasonable fling curve (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Now with heights Created 5 years, 11 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: sky/engine/public/platform/WebInputEvent.h
diff --git a/sky/engine/public/platform/WebInputEvent.h b/sky/engine/public/platform/WebInputEvent.h
index bd468004d4697ab04d636a73d04db83fe1f0b8b9..61cec7c9407974e36d3850f575558cefbd1cf039 100644
--- a/sky/engine/public/platform/WebInputEvent.h
+++ b/sky/engine/public/platform/WebInputEvent.h
@@ -160,7 +160,7 @@ public:
static const int InputModifiers = ShiftKey | ControlKey | AltKey | MetaKey;
- double timeStampSeconds; // Seconds since epoch.
+ double timeStampMS; // Milliseconds since epoch.
unsigned size; // The size of this structure, for serialization.
Type type;
int modifiers;
@@ -186,7 +186,7 @@ protected:
explicit WebInputEvent(unsigned sizeParam)
{
memset(this, 0, sizeParam);
- timeStampSeconds = 0.0;
+ timeStampMS = 0.0;
size = sizeParam;
type = Undefined;
modifiers = 0;

Powered by Google App Engine
This is Rietveld 408576698