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

Issue 2458513003: Addressing C4267 warnings for printing. (Closed)

Created:
4 years, 1 month ago by Lei Zhang
Modified:
4 years, 1 month ago
Reviewers:
hal.canary, Will Harris
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Addressing C4267 warnings for printing. BUG=167187 Committed: https://crrev.com/6b4461fd74c452ab0f9d97cdf051e84053f23aa1 Cr-Commit-Position: refs/heads/master@{#428461}

Patch Set 1 #

Patch Set 2 : size_t #

Patch Set 3 : fix #

Patch Set 4 : same as patch set 3, to see today's try bot output #

Total comments: 2

Patch Set 5 : Rebase, IsValueInRangeForNumericType for CFIndex #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -20 lines) Patch
M components/printing/renderer/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M printing/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M printing/emf_win.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M printing/emf_win.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M printing/emf_win_unittest.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M printing/metafile.h View 1 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_cg_mac.h View 1 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_cg_mac.cc View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M printing/pdf_metafile_skia.h View 1 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_skia.cc View 1 3 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 47 (29 generated)
Lei Zhang
One more, but probably the last one for things I own in Chromium. There's still ...
4 years, 1 month ago (2016-10-27 22:40:24 UTC) #16
Will Harris
This lgtm but I am not an expert on crazy cocoa types.
4 years, 1 month ago (2016-10-27 22:52:09 UTC) #17
Will Harris
sorry I had a draft https://codereview.chromium.org/2458513003/diff/60001/printing/pdf_metafile_cg_mac.cc File printing/pdf_metafile_cg_mac.cc (right): https://codereview.chromium.org/2458513003/diff/60001/printing/pdf_metafile_cg_mac.cc#newcode97 printing/pdf_metafile_cg_mac.cc:97: pdf_data_.reset(CFDataCreateMutable(kCFAllocatorDefault, src_buffer_size)); is a ...
4 years, 1 month ago (2016-10-27 22:52:34 UTC) #18
Lei Zhang
https://codereview.chromium.org/2458513003/diff/60001/printing/pdf_metafile_cg_mac.cc File printing/pdf_metafile_cg_mac.cc (right): https://codereview.chromium.org/2458513003/diff/60001/printing/pdf_metafile_cg_mac.cc#newcode97 printing/pdf_metafile_cg_mac.cc:97: pdf_data_.reset(CFDataCreateMutable(kCFAllocatorDefault, src_buffer_size)); On 2016/10/27 22:52:34, Will Harris wrote: > ...
4 years, 1 month ago (2016-10-27 23:15:14 UTC) #19
Will Harris
On 2016/10/27 23:15:14, Lei Zhang wrote: > https://codereview.chromium.org/2458513003/diff/60001/printing/pdf_metafile_cg_mac.cc > File printing/pdf_metafile_cg_mac.cc (right): > > https://codereview.chromium.org/2458513003/diff/60001/printing/pdf_metafile_cg_mac.cc#newcode97 ...
4 years, 1 month ago (2016-10-27 23:25:39 UTC) #20
Lei Zhang
On 2016/10/27 23:25:39, Will Harris wrote: > Ya I found that too, but then if ...
4 years, 1 month ago (2016-10-28 02:40:32 UTC) #25
Will Harris
still seems lgtm to me. Thanks.
4 years, 1 month ago (2016-10-28 03:16:51 UTC) #26
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/2458513003/80001
4 years, 1 month ago (2016-10-28 04:32:34 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/169876)
4 years, 1 month ago (2016-10-28 06:01:29 UTC) #30
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/2458513003/80001
4 years, 1 month ago (2016-10-28 06:06:29 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/169893)
4 years, 1 month ago (2016-10-28 07:21:58 UTC) #34
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/2458513003/80001
4 years, 1 month ago (2016-10-28 08:09:52 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/169951)
4 years, 1 month ago (2016-10-28 09:32:47 UTC) #38
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/2458513003/80001
4 years, 1 month ago (2016-10-28 17:12:41 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/170179)
4 years, 1 month ago (2016-10-28 18:37:11 UTC) #42
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/2458513003/80001
4 years, 1 month ago (2016-10-28 18:47:26 UTC) #44
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-28 19:34:57 UTC) #45
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 19:56:02 UTC) #47
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6b4461fd74c452ab0f9d97cdf051e84053f23aa1
Cr-Commit-Position: refs/heads/master@{#428461}

Powered by Google App Engine
This is Rietveld 408576698