| Index: Source/devtools/front_end/timeline/MemoryCountersGraph.js
|
| diff --git a/Source/devtools/front_end/timeline/MemoryCountersGraph.js b/Source/devtools/front_end/timeline/MemoryCountersGraph.js
|
| index 6244847fa239c536d2e7cf74dedda1818b7fda85..6452dd907bca543952e628c86f80bfd2a02ebc8e 100644
|
| --- a/Source/devtools/front_end/timeline/MemoryCountersGraph.js
|
| +++ b/Source/devtools/front_end/timeline/MemoryCountersGraph.js
|
| @@ -69,9 +69,9 @@ WebInspector.MemoryCountersGraph.prototype = {
|
| */
|
| function addStatistics(record)
|
| {
|
| - if (record.type() !== WebInspector.TimelineModel.RecordType.UpdateCounters)
|
| + var counters = record.counters();
|
| + if (!counters)
|
| return;
|
| - var counters = record.data();
|
| for (var name in counters) {
|
| var counter = this._countersByName[name];
|
| if (counter)
|
|
|