| 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 875a0b4eee70d7edbca7e6c7621b039c88990847..05cb04d135b8cdbf3795b86649204eb8c16aae42 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js
|
| @@ -84,7 +84,8 @@ WebInspector.Persistence.prototype = {
|
| return;
|
| var newContent = /** @type {string} */(event.data.content);
|
| var other = binding.network === uiSourceCode ? binding.fileSystem : binding.network;
|
| - if (Runtime.queryParam("v8only")) {
|
| + var target = WebInspector.NetworkProject.targetForUISourceCode(binding.network);
|
| + if (target.isNodeJS()) {
|
| other.requestContent().then(currentContent => this._syncNodeJSContent(binding, other, currentContent, newContent));
|
| return;
|
| }
|
|
|