| Index: third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| index 16ae06915694389bb3173a5bac61c8ebde1acfb5..7407dc7f3f7376be09c2187403bb67f68cd5b443 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| @@ -55,6 +55,7 @@ WebInspector.ResourceTreeModel = function(target, networkManager, securityOrigin
|
|
|
| this._pendingReloadOptions = null;
|
| this._reloadSuspensionCount = 0;
|
| + this._resortExecutionContexts = target.runtimeModel.resortExecutionContexts.bind(target.runtimeModel);
|
|
|
| target.runtimeModel.setExecutionContextComparator(this._executionContextComparator.bind(this));
|
| }
|
| @@ -132,6 +133,7 @@ WebInspector.ResourceTreeModel.prototype = {
|
| this.target().setInspectedURL(mainFramePayload.frame.url);
|
| }
|
| this._cachedResourcesProcessed = true;
|
| + this._resortExecutionContexts();
|
| this.dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.CachedResourcesLoaded);
|
| },
|
|
|
|
|