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

Issue 2404793002: Mac: Write gfx::ImageFamily using CGImageDestination. (Closed)

Created:
4 years, 2 months ago by tapted
Modified:
4 years, 2 months ago
Reviewers:
erikchen, Matt Giuca
CC:
chromium-reviews, tapted, Matt Giuca, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Write gfx::ImageFamily using CGImageDestination. Currently Mac uses SetIconFamilyData() which relies on deprecated Carbon APIs. CGImageDestination provides the same functionality and supports colorspaces properly as an added bonus. BUG=650799, 257010 Committed: https://crrev.com/92d17cf5d75eec4d20cb9a806b82683f844b5c22 Cr-Commit-Position: refs/heads/master@{#424653}

Patch Set 1 #

Patch Set 2 : Workee #

Patch Set 3 : zap carbon #

Patch Set 4 : Check finalize. #

Total comments: 8

Patch Set 5 : WriteIconsToFile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -79 lines) Patch
M chrome/browser/web_applications/web_app_mac.mm View 1 2 3 4 5 chunks +31 lines, -79 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
tapted
Hi Matt, please take a look.
4 years, 2 months ago (2016-10-10 08:02:58 UTC) #8
Matt Giuca
https://codereview.chromium.org/2404793002/diff/60001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/2404793002/diff/60001/chrome/browser/web_applications/web_app_mac.mm#newcode98 chrome/browser/web_applications/web_app_mac.mm:98: explicit MacIconWriter(size_t image_count) This is mostly gibberish to me. ...
4 years, 2 months ago (2016-10-11 02:36:51 UTC) #11
tapted
+erik - could you sanity check the CG API usage? Thanks! https://codereview.chromium.org/2404793002/diff/60001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): ...
4 years, 2 months ago (2016-10-12 02:04:13 UTC) #15
Matt Giuca
Nice improvement. lgtm
4 years, 2 months ago (2016-10-12 02:06:50 UTC) #16
erikchen
very nice work! lgtm
4 years, 2 months ago (2016-10-12 02:18:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2404793002/80001
4 years, 2 months ago (2016-10-12 02:21:51 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-12 02:27:25 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 02:30:32 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/92d17cf5d75eec4d20cb9a806b82683f844b5c22
Cr-Commit-Position: refs/heads/master@{#424653}

Powered by Google App Engine
This is Rietveld 408576698