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

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

Issue 185543012: TimelinePanel: REGRESSIONS: three fixes for TimelineOverviewPane. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/TimelineModel.js
diff --git a/Source/devtools/front_end/TimelineModel.js b/Source/devtools/front_end/TimelineModel.js
index bc6a5208039725c81e716e587903aa79a04165fb..65c852780ca4c75c689834c6bec8a20c7fe8bca6 100644
--- a/Source/devtools/front_end/TimelineModel.js
+++ b/Source/devtools/front_end/TimelineModel.js
@@ -364,7 +364,7 @@ WebInspector.TimelineModel.prototype = {
if (this._minimumRecordTime === -1 || startTime < this._minimumRecordTime)
this._minimumRecordTime = startTime;
- if (this._maximumRecordTime === -1 || endTime > this._maximumRecordTime)
+ if ((this._maximumRecordTime === -1 && endTime) || endTime > this._maximumRecordTime)
this._maximumRecordTime = endTime;
},
« no previous file with comments | « no previous file | Source/devtools/front_end/TimelineOverviewPane.js » ('j') | Source/devtools/front_end/TimelineOverviewPane.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698