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

Issue 23569008: Never decode the favicon in FaviconUtil::SelectFaviconFramesFromPNGs() when the desired size is 0 (Closed)

Created:
7 years, 3 months ago by pkotwicz
Modified:
7 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, browser-components-watch_chromium.org
Visibility:
Public.

Description

Never decode the favicon in FaviconUtil::SelectFaviconFramesFromPNGs() to SkBitmap when the desired size is 0. The decoding is unnecessary. Giving the largest PNG a scale factor of 100P matches the behavior in SelectFaviconFrames(). This is a corner case that I need to fix in order fix 278457 BUG=278457 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222070

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M chrome/browser/favicon/favicon_util.cc View 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
pkotwicz
sky@, PTAL
7 years, 3 months ago (2013-09-05 06:50:09 UTC) #1
sky
LGTM
7 years, 3 months ago (2013-09-05 20:11:49 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/23569008/1
7 years, 3 months ago (2013-09-09 16:51:56 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-09-09 19:29:09 UTC) #4
Message was sent while issue was closed.
Change committed as 222070

Powered by Google App Engine
This is Rietveld 408576698