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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js

Issue 924083004: Shorten Closure template notation from Array.<*> to Array<*> in cvox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
index d5d9956f345141a1a4dd2edde5f88132d37f01f4..54fa9945c1a09026d3a652d253dca664ab13c680 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
@@ -157,7 +157,7 @@ AutomationUtil.findNodeUntil = function(cur, dir, pred, opt_options) {
/**
* Returns an array containing ancestors of node starting at root down to node.
* @param {!AutomationNode} node
- * @return {!Array.<AutomationNode>}
+ * @return {!Array<AutomationNode>}
*/
AutomationUtil.getAncestors = function(node) {
var ret = [];
@@ -172,8 +172,8 @@ AutomationUtil.getAncestors = function(node) {
/**
* Gets the first index where the two input arrays differ. Returns -1 if they
* do not.
- * @param {!Array.<AutomationNode>} ancestorsA
- * @param {!Array.<AutomationNode>} ancestorsB
+ * @param {!Array<AutomationNode>} ancestorsA
+ * @param {!Array<AutomationNode>} ancestorsB
* @return {number}
*/
AutomationUtil.getDivergence = function(ancestorsA, ancestorsB) {

Powered by Google App Engine
This is Rietveld 408576698