| 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 f2594adfbfdd5f6289d777c76ad87acd6f941043..a3e76fd66cd99148b08034046328c7e477c03ec3 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js
|
| @@ -32,6 +32,14 @@ Persistence.Persistence = class extends Common.Object {
|
| }
|
|
|
| /**
|
| + * @param {function(function(!Persistence.PersistenceBinding), function(!Persistence.PersistenceBinding)):{dispose: function()}} mappingFactory
|
| + */
|
| + _setMappingForTest(mappingFactory) {
|
| + this._mapping.dispose();
|
| + this._mapping = mappingFactory(this._validateBinding.bind(this), this._onBindingRemoved.bind(this));
|
| + }
|
| +
|
| + /**
|
| * @param {!Persistence.PersistenceBinding} binding
|
| */
|
| _validateBinding(binding) {
|
|
|