Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(872)

Unified Diff: third_party/WebKit/Source/devtools/front_end/platform/utilities.js

Issue 1765733002: [DevTools] Remove Array.from method from utilities.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/externs.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 eb66a1445c06c3eab951722c46066216247c1d4f..32998d2240f264f004e4574d8579193dea2d0f08 100644
--- a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
+++ b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
@@ -1261,19 +1261,6 @@ function numberToStringWithSpacesPadding(value, symbolsCount)
}
/**
- * @param {!Iterator.<T>} iterator
- * @return {!Array.<T>}
- * @template T
- */
-Array.from = function(iterator)
-{
- var values = [];
- for (var iteratorValue = iterator.next(); !iteratorValue.done; iteratorValue = iterator.next())
- values.push(iteratorValue.value);
- return values;
-}
-
-/**
* @return {!Array.<T>}
* @template T
*/
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/externs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698