Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js b/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js |
| index 209cfb6d99c616038bb3263c06df6d1012842075..fa73f1d5d9d49200e322d568c317c62a6d595008 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js |
| @@ -17,12 +17,15 @@ WebInspector.Persistence = class extends WebInspector.Object { |
| /** @type {!Map<string, number>} */ |
| this._filePathPrefixesToBindingCount = new Map(); |
| - if (Runtime.experiments.isEnabled('persistence2')) |
| + if (Runtime.experiments.isEnabled('persistence2')) { |
| + var iconProvider = new WebInspector.PersistenceUtils.LinkDecorator(this); |
|
dgozman
2016/11/10 01:01:43
linkDecorator
lushnikov
2016/11/10 01:13:45
Done.
|
| + WebInspector.Linkifier.setLinkDecorator(iconProvider); |
| this._mapping = |
| new WebInspector.Automapping(workspace, this._onBindingCreated.bind(this), this._onBindingRemoved.bind(this)); |
| - else |
| + } else { |
| this._mapping = new WebInspector.DefaultMapping( |
| workspace, fileSystemMapping, this._onBindingCreated.bind(this), this._onBindingRemoved.bind(this)); |
| + } |
| } |
| /** |