| Index: Source/devtools/front_end/platform/utilities.js
|
| diff --git a/Source/devtools/front_end/platform/utilities.js b/Source/devtools/front_end/platform/utilities.js
|
| index 7e972bf8de041cd79b1ddb4dc9ee099be5d599ba..a112650d776b2d565311a828a81d7cdcd1db127b 100644
|
| --- a/Source/devtools/front_end/platform/utilities.js
|
| +++ b/Source/devtools/front_end/platform/utilities.js
|
| @@ -1499,3 +1499,16 @@ Promise.prototype.catchException = function(defaultValue) {
|
| return defaultValue;
|
| });
|
| }
|
| +
|
| +/**
|
| + * @param {!Object} object
|
| + * @param {*} propertyName
|
| + * @param {T} result
|
| + * @return {T}
|
| + * @template T
|
| + */
|
| +function storeResultTo(object, propertyName, result)
|
| +{
|
| + object[propertyName] = result;
|
| + return result;
|
| +}
|
|
|