Commit 5114b481 authored by Tibor Goldschwendt's avatar Tibor Goldschwendt Committed by Commit Bot

[ntp-realbox] Increase favicon size

This makes the realbox favicons similar in size to omnibox favicons.

Bug: 1043268
Change-Id: I923856bad6f5b12437eab7e5fb139b1ca10fed4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2013904
Auto-Submit: Tibor Goldschwendt <tiborg@chromium.org>
Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#733863}
parent bb3232ac
......@@ -725,7 +725,7 @@ function getIconUrl(url) {
// TODO(crbug.com/997229): use chrome://favicon/<url> when perms allow.
const iconUrl = new URL('chrome-search://ntpicon/');
iconUrl.searchParams.set('show_fallback_monogram', 'false');
iconUrl.searchParams.set('size', '24@' + window.devicePixelRatio + 'x');
iconUrl.searchParams.set('size', '32@' + window.devicePixelRatio + 'x');
// The fallback color must match that of .clock-icon and .search-icon
iconUrl.searchParams.set(
'color',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment