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 9449c2d1a72b51a748d90ea36b1caa852e782121..d99ec08f49e6ce85788c7b9deffb2b6827c9ed15 100644 |
--- a/Source/devtools/front_end/timeline/TimelineModel.js |
+++ b/Source/devtools/front_end/timeline/TimelineModel.js |
@@ -284,6 +284,14 @@ WebInspector.TimelineModel.prototype = { |
}, |
/** |
+ * @return {boolean} |
+ */ |
+ isEmpty: function() |
+ { |
+ return this.minimumRecordTime() === 0 && this.maximumRecordTime() === 0; |
+ }, |
+ |
+ /** |
* @param {!WebInspector.TimelineModel.Record} record |
*/ |
_updateBoundaries: function(record) |