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

Unified Diff: third_party/WebKit/Source/core/html/forms/TypeAhead.h

Issue 2542693002: Use WTF::TimeTicks to represent timestamp in Platform/Core event types (Closed)
Patch Set: rebase Created 4 years 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: third_party/WebKit/Source/core/html/forms/TypeAhead.h
diff --git a/third_party/WebKit/Source/core/html/forms/TypeAhead.h b/third_party/WebKit/Source/core/html/forms/TypeAhead.h
index 100037e87ad7dd7d9f1cccef58b53553a55b8065..9bf6834a45fc66425e588e91e32bbc6a8b90e05f 100644
--- a/third_party/WebKit/Source/core/html/forms/TypeAhead.h
+++ b/third_party/WebKit/Source/core/html/forms/TypeAhead.h
@@ -28,6 +28,7 @@
#include "core/CoreExport.h"
#include "wtf/Allocator.h"
+#include "wtf/Time.h"
#include "wtf/text/StringBuilder.h"
#include "wtf/text/WTFString.h"
@@ -65,7 +66,7 @@ class TypeAhead {
private:
TypeAheadDataSource* m_dataSource;
// platform timestamp of last keyboard event in seconds
- double m_lastTypeTime;
+ TimeTicks m_lastTypeTime;
UChar m_repeatingChar;
StringBuilder m_buffer;
};
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp ('k') | third_party/WebKit/Source/core/html/forms/TypeAhead.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698