Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| index f855da8c3362c3a24022775423f275ae0708ee16..1c78a7899415ad3644a220dce5589e2c4ae73ad3 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| @@ -695,9 +695,8 @@ WebInspector.NetworkPanel.FilmStripRecorder.prototype = { |
| if (!this._tracingModel) |
| return; |
| this._tracingModel.tracingComplete(); |
| - var resourceTreeModel = this._target.resourceTreeModel; |
| + WebInspector.targetManager.resumeReload(this._target); |
| this._target = null; |
| - setImmediate(resourceTreeModel.resumeReload.bind(resourceTreeModel)); |
|
pfeldman
2016/08/11 00:34:17
This setImmediate is lost.
eostroukhov-old
2016/08/17 01:09:02
It moved to the TargetManager.js
|
| this._callback(new WebInspector.FilmStripModel(this._tracingModel, this._timeCalculator.minimumBoundary() * 1000)); |
| delete this._callback; |
| }, |
| @@ -749,7 +748,7 @@ WebInspector.NetworkPanel.FilmStripRecorder.prototype = { |
| return; |
| this._target.tracingManager.stop(); |
| - this._target.resourceTreeModel.suspendReload(); |
| + WebInspector.targetManager.suspendReload(this._target); |
| this._callback = callback; |
| this._filmStripView.setStatusText(WebInspector.UIString("Fetching frames...")); |
| } |