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

Unified Diff: Source/core/inspector/InspectorTimelineAgent.h

Issue 212893002: Use monotonicallyIncreasingTime for Timeline timestamps (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed a test, it's not applicable now Created 6 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
Index: Source/core/inspector/InspectorTimelineAgent.h
diff --git a/Source/core/inspector/InspectorTimelineAgent.h b/Source/core/inspector/InspectorTimelineAgent.h
index a540280d64df114ddd2e8fdde4b69616db8d9949..23f51e0b634473182158c030f9c0abb3d8b3060b 100644
--- a/Source/core/inspector/InspectorTimelineAgent.h
+++ b/Source/core/inspector/InspectorTimelineAgent.h
@@ -90,19 +90,6 @@ class XMLHttpRequest;
typedef String ErrorString;
-class TimelineTimeConverter {
-public:
- TimelineTimeConverter()
- : m_startOffset(0)
- {
- }
- double fromMonotonicallyIncreasingTime(double time) const { return (time - m_startOffset) * 1000.0; }
- void reset();
-
-private:
- double m_startOffset;
-};
-
class InspectorTimelineAgent FINAL
: public TraceEventTarget<InspectorTimelineAgent>
, public InspectorBaseAgent<InspectorTimelineAgent>
@@ -316,7 +303,6 @@ private:
int m_id;
unsigned long long m_layerTreeId;
- TimelineTimeConverter m_timeConverter;
int m_maxCallStackDepth;
Vector<TimelineRecordEntry> m_recordStack;
« no previous file with comments | « LayoutTests/inspector/timeline/timeline-start-time-expected.txt ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698