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

Unified Diff: Source/devtools/front_end/timeline/TimelineModel.js

Issue 318093002: Convert timestamp to milliseconds when creating TracingModel.Event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/devtools/front_end/timeline/TimelineModel.js
diff --git a/Source/devtools/front_end/timeline/TimelineModel.js b/Source/devtools/front_end/timeline/TimelineModel.js
index eb90358164c93d3e5c6ebec636e667c371d5e901..9fb5dd44fd5d8144923be0ea6b879acb5e6759c9 100644
--- a/Source/devtools/front_end/timeline/TimelineModel.js
+++ b/Source/devtools/front_end/timeline/TimelineModel.js
@@ -537,7 +537,7 @@ WebInspector.TimelineModel.TraceEventRecord.prototype = {
*/
selfTime: function()
{
- return this._event.selfTime / 1000;
+ return this._event.selfTime;
},
/**
@@ -570,7 +570,7 @@ WebInspector.TimelineModel.TraceEventRecord.prototype = {
*/
startTime: function()
{
- return this._event.startTime / 1000;
+ return this._event.startTime;
},
/**
@@ -586,7 +586,7 @@ WebInspector.TimelineModel.TraceEventRecord.prototype = {
*/
endTime: function()
{
- return (this._event.endTime || this._event.startTime) / 1000;
+ return this._event.endTime || this._event.startTime;
},
/**
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineFrameModel.js ('k') | Source/devtools/front_end/timeline/TimelineTracingView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698