Index: Source/devtools/front_end/timeline/TimelinePresentationModel.js |
diff --git a/Source/devtools/front_end/timeline/TimelinePresentationModel.js b/Source/devtools/front_end/timeline/TimelinePresentationModel.js |
index 7ee7c514add00cda9c821ef034ce6d3be92a5023..ca1597284be1b7ee3aeb1b3363da81f7cfde8390 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePresentationModel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePresentationModel.js |
@@ -477,7 +477,7 @@ WebInspector.TimelinePresentationModel.ActualRecord.prototype = { |
*/ |
selfTime: function() |
{ |
- return this._record.selfTime(); |
+ return this._record.traceEvent().selfTime; |
}, |
/** |
@@ -495,7 +495,7 @@ WebInspector.TimelinePresentationModel.ActualRecord.prototype = { |
*/ |
hasWarnings: function() |
{ |
- return !!this._record.warnings(); |
+ return !!this._record.traceEvent().warning; |
}, |
__proto__: WebInspector.TimelinePresentationModel.Record.prototype |