Index: Source/devtools/front_end/timeline/TimelinePanel.js |
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js |
index 3b5194a8558bc4634cfc78bfe063b809930d634e..fdc46a43b22d843efef7fde7bba644cc2a0fca77 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -202,10 +202,7 @@ WebInspector.TimelinePanel.prototype = { |
{ |
if (this._windowStartTime) |
return this._windowStartTime; |
- var minimumRecordTime = this._model.minimumRecordTime(); |
- if (minimumRecordTime && minimumRecordTime !== -1) |
- return minimumRecordTime; |
- return 0; |
+ return this._model.minimumRecordTime(); |
}, |
/** |
@@ -215,10 +212,7 @@ WebInspector.TimelinePanel.prototype = { |
{ |
if (this._windowEndTime < Infinity) |
return this._windowEndTime; |
- var maximumRecordTime = this._model.maximumRecordTime(); |
- if (maximumRecordTime && maximumRecordTime !== -1) |
- return maximumRecordTime; |
- return Infinity; |
+ return this._model.maximumRecordTime() || Infinity; |
}, |
/** |