| Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
|
| index eeb468e9e0eee65797346da267bfbfab2ccfdd58..bff0aa5a0d0a8b5221d8ed62240a18f183e42f9e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
|
| @@ -29,6 +29,8 @@ WebInspector.TimelineController.prototype = {
|
| */
|
| startRecording: function(captureCauses, enableJSSampling, captureMemory, capturePictures, captureFilmStrip)
|
| {
|
| + this._extensionTraceProviders = WebInspector.extensionServer.traceProviders().slice();
|
| +
|
| function disabledByDefault(category)
|
| {
|
| return "disabled-by-default-" + category;
|
| @@ -66,6 +68,9 @@ WebInspector.TimelineController.prototype = {
|
| if (captureFilmStrip)
|
| categoriesArray.push(disabledByDefault("devtools.screenshot"));
|
|
|
| + for (var traceProvider of this._extensionTraceProviders)
|
| + traceProvider.start();
|
| +
|
| var categories = categoriesArray.join(",");
|
| this._startRecordingWithCategories(categories, enableJSSampling);
|
| },
|
| @@ -80,6 +85,9 @@ WebInspector.TimelineController.prototype = {
|
| Promise.all(tracingStoppedPromises).then(() => this._allSourcesFinished());
|
|
|
| this._delegate.loadingStarted();
|
| +
|
| + for (var traceProvider of this._extensionTraceProviders)
|
| + traceProvider.stop();
|
| },
|
|
|
| /**
|
|
|