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

Unified Diff: include/views/SkTouchGesture.h

Issue 1811613004: Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Rebase. Created 4 years, 9 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
« no previous file with comments | « include/views/SkEvent.h ('k') | samplecode/SampleClipDrawMatch.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/views/SkTouchGesture.h
diff --git a/include/views/SkTouchGesture.h b/include/views/SkTouchGesture.h
index 4a03065e2562cf1c6e4da2cf7e1547cbc98932d9..60487c7a2f285f0d62c820431c016363880bda69 100644
--- a/include/views/SkTouchGesture.h
+++ b/include/views/SkTouchGesture.h
@@ -55,14 +55,14 @@ private:
float fStartX, fStartY;
float fPrevX, fPrevY;
float fLastX, fLastY;
- SkMSec fPrevT, fLastT;
+ float fPrevT, fLastT;
};
SkTDArray<Rec> fTouches;
State fState;
SkMatrix fLocalM, fGlobalM;
SkFlingState fFlinger;
- SkMSec fLastUpT;
+ double fLastUpMillis;
SkPoint fLastUpP;
« no previous file with comments | « include/views/SkEvent.h ('k') | samplecode/SampleClipDrawMatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698