Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js b/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js |
| index a458ab19f198bd24d4a974c94461682a68729bf3..3140b273f68b427223d46dbdec59119051c61541 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js |
| @@ -70,7 +70,9 @@ WebInspector.AppManifestView.prototype = { |
| _updateManifest: function() |
| { |
| - this._target.resourceTreeModel.fetchAppManifest(this._renderManifest.bind(this)); |
| + var resourceTreeModel = WebInspector.ResourceTreeModel.fromTarget(this._target); |
|
dgozman
2016/07/14 16:29:28
I'd rather set this._resourceTreeModel in targetAd
eostroukhov-old
2016/07/20 23:46:15
Done.
|
| + if (resourceTreeModel) |
| + resourceTreeModel.fetchAppManifest(this._renderManifest.bind(this)); |
| }, |
| /** |