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

Unified Diff: chrome/browser/resources/suggestions_internals/suggestions_internals.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox 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/suggestions_internals/suggestions_internals.js
diff --git a/chrome/browser/resources/suggestions_internals/suggestions_internals.js b/chrome/browser/resources/suggestions_internals/suggestions_internals.js
index 35988303db0ea5b6c9ac4df73b8fcbfd7c8409f7..63a9acea713a64b2cd65d47c5f194fbf04fbd18d 100644
--- a/chrome/browser/resources/suggestions_internals/suggestions_internals.js
+++ b/chrome/browser/resources/suggestions_internals/suggestions_internals.js
@@ -41,7 +41,7 @@ cr.define('suggestionsInternals', function() {
/**
* A list of columns that we do not want to display.
- * @type {Array.<string>}
+ * @type {Array<string>}
* @const
*/
var IGNORED_COLUMNS = [
@@ -52,7 +52,7 @@ cr.define('suggestionsInternals', function() {
* A list specifying the name of the first columns to be displayed. If
* present, they will be displayed in this order, followed by the remaining
* columns.
- * @type {Array.<string>}
+ * @type {Array<string>}
* @const
*/
var PREFERRED_COLUMN_ORDER = [
@@ -160,8 +160,8 @@ cr.define('suggestionsInternals', function() {
} else if (columnName == 'screenshot') {
var thumbnailUrl = 'chrome://thumb/' + entry.url;
var img = document.createElement('img');
- img.onload = function() { setBooleanColumn(column, true); }
- img.onerror = function() { setBooleanColumn(column, false); }
+ img.onload = function() { setBooleanColumn(column, true); };
+ img.onerror = function() { setBooleanColumn(column, false); };
img.src = thumbnailUrl;
} else if (columnName == 'favicon') {
var faviconUrl = 'chrome://favicon/size/16@1x/' + entry.url;

Powered by Google App Engine
This is Rietveld 408576698