| Index: third_party/WebKit/Source/devtools/front_end/platform/utilities.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
|
| index 14f5d3aa303744586a5d7480c62cf783f7b71390..07435b1c845d6c4fd294ede18c878b966ee2b2a2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
|
| @@ -1091,6 +1091,16 @@ Set.prototype.valuesArray = function() {
|
| return Array.from(this.values());
|
| };
|
|
|
| +/**
|
| + * @return {?T}
|
| + * @template T
|
| + */
|
| +Set.prototype.firstValue = function() {
|
| + if (!this.size)
|
| + return null;
|
| + return this.values().next().value;
|
| +};
|
| +
|
| /**
|
| * @param {!Iterable<T>|!Array<!T>} iterable
|
| * @template T
|
|
|