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

Issue 1108833002: [Local NTP] Fix chrome://large-icon fallback when no favicon is found. (Closed)

Created:
5 years, 7 months ago by huangs
Modified:
5 years, 7 months ago
Reviewers:
beaudoin, pkotwicz
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Local NTP] Fix chrome://large-icon fallback when no favicon is found. For chrome://large-icon, if no large icon is found then we get the small favicon to extract the dominant color for fallback background. If the favicon is missing we're supposed to have a gray background. This behavior was broken and this CL fixes it. BUG=467712 Committed: https://crrev.com/5adfb2a5905c9bb71978f45896f39a982ebcddbc Cr-Commit-Position: refs/heads/master@{#327119}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Refactoring constructors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -7 lines) Patch
M components/favicon/core/large_icon_service.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
M components/favicon_base/favicon_types.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M components/favicon_base/favicon_types.cc View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 19 (6 generated)
huangs
PTAL.
5 years, 7 months ago (2015-04-27 15:38:40 UTC) #2
beaudoin
LGTM
5 years, 7 months ago (2015-04-27 15:39:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108833002/1
5 years, 7 months ago (2015-04-27 15:39:56 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/59224)
5 years, 7 months ago (2015-04-27 15:45:22 UTC) #7
huangs
OWNER review to pkotwicz@, PTAL.
5 years, 7 months ago (2015-04-27 17:00:16 UTC) #8
huangs
OWNER review to pkotwicz@, PTAL.
5 years, 7 months ago (2015-04-27 17:00:26 UTC) #10
pkotwicz
https://codereview.chromium.org/1108833002/diff/1/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/1108833002/diff/1/components/favicon/core/large_icon_service.cc#newcode50 components/favicon/core/large_icon_service.cc:50: result.fallback_icon_style.reset(new favicon_base::FallbackIconStyle()); Sorry that I missed this. How about ...
5 years, 7 months ago (2015-04-27 17:49:02 UTC) #11
huangs
Updated, PTAL. https://codereview.chromium.org/1108833002/diff/1/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/1108833002/diff/1/components/favicon/core/large_icon_service.cc#newcode50 components/favicon/core/large_icon_service.cc:50: result.fallback_icon_style.reset(new favicon_base::FallbackIconStyle()); On 2015/04/27 17:49:02, pkotwicz wrote: ...
5 years, 7 months ago (2015-04-27 18:16:05 UTC) #12
pkotwicz
lgtm
5 years, 7 months ago (2015-04-27 18:35:48 UTC) #13
huangs
Thanks. Committing!
5 years, 7 months ago (2015-04-27 19:29:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108833002/20001
5 years, 7 months ago (2015-04-27 19:29:07 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-04-27 21:14:25 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-04-27 21:15:17 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5adfb2a5905c9bb71978f45896f39a982ebcddbc
Cr-Commit-Position: refs/heads/master@{#327119}

Powered by Google App Engine
This is Rietveld 408576698