| 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 6c950d3524a95ebf843b619db67051c9b4fd446a..be87ef4653700ad655d5a96f2f5dda22d125b718 100644
|
| --- a/Source/devtools/front_end/timeline/TracingTimelineModel.js
|
| +++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js
|
| @@ -439,6 +439,17 @@ WebInspector.TracingTimelineModel.prototype = {
|
| return null;
|
| },
|
|
|
| + /**
|
| + * @param {!WebInspector.TimelineModel.Record} record
|
| + * @return {!WebInspector.TracingModel.Event}
|
| + */
|
| + traceEventFrom: function(record)
|
| + {
|
| + if (!(record instanceof WebInspector.TracingTimelineModel.TraceEventRecord))
|
| + throw new Error("Illegal argument.");
|
| + return record._event;
|
| + },
|
| +
|
| __proto__: WebInspector.TimelineModel.prototype
|
| }
|
|
|
|
|