| 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 214926e89fcaf28768a0cfe802b084de2f8e1678..31c26d2cd0b45d7c079538a767e5481093c2c6c6 100644
|
| --- a/Source/devtools/front_end/timeline/TimelineModel.js
|
| +++ b/Source/devtools/front_end/timeline/TimelineModel.js
|
| @@ -655,8 +655,9 @@ WebInspector.TimelineModel.prototype = {
|
| /**
|
| * @param {string} categories
|
| * @param {boolean=} enableJSSampling
|
| + * @param {function(?string)=} callback
|
| */
|
| - _startRecordingWithCategories: function(categories, enableJSSampling)
|
| + _startRecordingWithCategories: function(categories, enableJSSampling, callback)
|
| {
|
| if (!this._targets.length)
|
| return;
|
| @@ -666,7 +667,7 @@ WebInspector.TimelineModel.prototype = {
|
| var samplingFrequencyHz = WebInspector.moduleSetting("highResolutionCpuProfiling").get() ? 10000 : 1000;
|
| var options = "sampling-frequency=" + samplingFrequencyHz;
|
| var tracingManager = this._targets[0].tracingManager;
|
| - profilingStartedPromise.then(tracingManager.start.bind(tracingManager, this, categories, options, undefined));
|
| + profilingStartedPromise.then(tracingManager.start.bind(tracingManager, this, categories, options, callback));
|
| },
|
|
|
| /**
|
|
|