Index: Source/devtools/front_end/timeline/CountersGraph.js |
diff --git a/Source/devtools/front_end/timeline/CountersGraph.js b/Source/devtools/front_end/timeline/CountersGraph.js |
index a53e4f4042773c05b6e6b93312084002948e4bab..a63f9dd9a730e416551db1af4650a540f4a99b57 100644 |
--- a/Source/devtools/front_end/timeline/CountersGraph.js |
+++ b/Source/devtools/front_end/timeline/CountersGraph.js |
@@ -195,7 +195,7 @@ WebInspector.CountersGraph.prototype = { |
return false; |
} |
this._model.forAllRecords(null, findRecordToReveal.bind(this)); |
- this._delegate.selectRecord(recordToReveal); |
+ this._delegate.select(recordToReveal ? WebInspector.TimelineSelection.fromRecord(recordToReveal) : null); |
}, |
/** |
@@ -258,9 +258,9 @@ WebInspector.CountersGraph.prototype = { |
}, |
/** |
- * @param {?WebInspector.TimelineModel.Record} record |
+ * @param {?WebInspector.TimelineSelection} selection |
*/ |
- setSelectedRecord: function(record) |
+ setSelection: function(selection) |
{ |
}, |