| Index: chrome/browser/resources/local_ntp/most_visited_single.js
|
| diff --git a/chrome/browser/resources/local_ntp/most_visited_single.js b/chrome/browser/resources/local_ntp/most_visited_single.js
|
| index 028f57d8044d1fb0896735814bbcc5e7926c8be0..012abdb02fdf315a84a283e4b54fa2da95563c8f 100644
|
| --- a/chrome/browser/resources/local_ntp/most_visited_single.js
|
| +++ b/chrome/browser/resources/local_ntp/most_visited_single.js
|
| @@ -277,9 +277,13 @@ var addTile = function(args) {
|
| if (args.rid) {
|
| var data = chrome.embeddedSearch.searchBox.getMostVisitedItemData(args.rid);
|
| data.tid = data.rid;
|
| - data.thumbnailUrls = [data.thumbnailUrl];
|
| - data.faviconUrl = 'chrome-search://favicon/size/16@' +
|
| - window.devicePixelRatio + 'x/' + data.renderViewId + '/' + data.tid;
|
| + if (!data.thumbnailUrls) {
|
| + data.thumbnailUrls = [data.thumbnailUrl];
|
| + }
|
| + if (!data.faviconUrl) {
|
| + data.faviconUrl = 'chrome-search://favicon/size/16@' +
|
| + window.devicePixelRatio + 'x/' + data.renderViewId + '/' + data.tid;
|
| + }
|
| tiles.appendChild(renderTile(data));
|
| logEvent(LOG_TYPE.NTP_CLIENT_SIDE_SUGGESTION);
|
| } else if (args.id) {
|
|
|