| Index: chrome/browser/resources/local_ntp/most_visited_thumbnail.js
|
| diff --git a/chrome/browser/resources/local_ntp/most_visited_thumbnail.js b/chrome/browser/resources/local_ntp/most_visited_thumbnail.js
|
| index 887709dda9b38d6cd4bf8b2d79db8bf05a8b4f98..105f85ab1dce17a17f69cc04e9eb7d7bfbd8d118 100644
|
| --- a/chrome/browser/resources/local_ntp/most_visited_thumbnail.js
|
| +++ b/chrome/browser/resources/local_ntp/most_visited_thumbnail.js
|
| @@ -42,17 +42,15 @@ window.addEventListener('DOMContentLoaded', function() {
|
| function createThumbnail(src) {
|
| var image = document.createElement('img');
|
| image.onload = function() {
|
| - var shadow = document.createElement('span');
|
| - shadow.className = 'shadow';
|
| var link = createMostVisitedLink(
|
| params, data.url, data.title, undefined, data.direction,
|
| data.provider);
|
| - link.appendChild(shadow);
|
| link.appendChild(image);
|
| displayLink(link);
|
| };
|
| image.onerror = function() {
|
| - if (data.domain) {
|
| + // If no external thumbnail fallback (etfb), and have domain.
|
| + if (!params.etfb && data.domain) {
|
| showDomainElement();
|
| logEvent(NTP_LOGGING_EVENT_TYPE.NTP_GRAY_TILE_FALLBACK);
|
| } else {
|
|
|