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

Unified Diff: third_party/WebKit/Source/core/events/Event.h

Issue 2161693003: Remove HiResEventTimeStamp runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comment in Event.h Created 4 years, 5 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 | « no previous file | third_party/WebKit/Source/core/events/Event.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index c53054f03309c3169a1e2250d9c06db946785a7c..0c42ab19e38a0ec2e61d80833d791229332bbce4 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -137,14 +137,11 @@ public:
bool composed() const { return m_composed; }
bool isScopedInV0() const;
- // Event creation timestamp in milliseconds. If |HiResEventTimeStamp|
- // runtime feature is enabled it returns a DOMHighResTimeStamp using the
- // platform timestamp (see |m_platformTimeStamp|) otherwise it returns a
- // DOMTimeStamp that represents the current object's construction time (see
- // |m_createTime|). For more info see http://crbug.com/160524
+ // Event creation timestamp in milliseconds. It returns a DOMHighResTimeStamp
+ // using the platform timestamp (see |m_platformTimeStamp|).
+ // For more info see http://crbug.com/160524
double timeStamp(ScriptState*) const;
double platformTimeStamp() const { return m_platformTimeStamp; }
- DOMTimeStamp createTime() const { return m_createTime; }
void stopPropagation() { m_propagationStopped = true; }
void stopImmediatePropagation() { m_immediatePropagationStopped = true; }
@@ -262,7 +259,6 @@ private:
unsigned short m_eventPhase;
Member<EventTarget> m_currentTarget;
Member<EventTarget> m_target;
- DOMTimeStamp m_createTime;
Member<Event> m_underlyingEvent;
Member<EventPath> m_eventPath;
// The monotonic platform time in seconds, for input events it is the
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/Event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698