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

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

Issue 322783002: Initialize min/max record time to 0 instead of -1 or null (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/TracingTimelineModel.js
diff --git a/Source/devtools/front_end/timeline/TracingTimelineModel.js b/Source/devtools/front_end/timeline/TracingTimelineModel.js
index 4619423f9992791134fc2677c76436d531b63718..210a9f695bb7fbaea77556321515761eb7ed218f 100644
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js
@@ -163,7 +163,7 @@ WebInspector.TracingTimelineModel.prototype = {
},
/**
- * @return {?number}
+ * @return {number}
*/
minimumRecordTime: function()
{
@@ -171,7 +171,7 @@ WebInspector.TracingTimelineModel.prototype = {
},
/**
- * @return {?number}
+ * @return {number}
*/
maximumRecordTime: function()
{

Powered by Google App Engine
This is Rietveld 408576698