| 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 3ce1bc2a3b2d5eb85e22af33d1ca022a59eb61d4..1cacceefc0dcc94ab681f3f2d5b0b253d1ab592f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
|
| @@ -31,6 +31,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;
|
| @@ -67,6 +69,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);
|
| },
|
| @@ -77,6 +82,9 @@ WebInspector.TimelineController.prototype = {
|
| this._target.tracingManager.stop();
|
| this._targetsResumedPromise = WebInspector.targetManager.resumeAllTargets();
|
| this._delegate.loadingStarted();
|
| +
|
| + for (var traceProvider of this._extensionTraceProviders)
|
| + traceProvider.stop();
|
| },
|
|
|
| /**
|
|
|