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

Issue 1671403002: Switch gfx::Range to use uint32_t instead of size_t. (Closed)

Created:
4 years, 10 months ago by jam
Modified:
4 years, 10 months ago
CC:
chromium-reviews, tapted, yusukes+watch_chromium.org, derat+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, tfarina, James Su, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch gfx::Range to use uint32_t instead of size_t. This is because size_t's size depends on the architecture and we send gfx::Range over IPC. We need IPCs to match as we're now going to support 32 and 64 bit processes communicating on Android. This is split off from https://codereview.chromium.org/1619363002/. BUG=581409 Committed: https://crrev.com/1f0b47c4a982ab2076590d95937b89f892bd4552 Cr-Commit-Position: refs/heads/master@{#374568}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -53 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download
M ui/app_list/search_result.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/gfx/ipc/gfx_param_traits.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M ui/gfx/range/range.h View 1 4 chunks +14 lines, -14 lines 0 comments Download
M ui/gfx/range/range.cc View 1 2 4 chunks +8 lines, -9 lines 0 comments Download
M ui/gfx/render_text.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M ui/gfx/render_text_harfbuzz.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M ui/gfx/selection_model.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/styled_label_unittest.cc View 6 chunks +20 lines, -11 lines 0 comments Download
M ui/views/examples/multiline_example.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/touchui/touch_selection_controller_impl_unittest.cc View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
jam
Tom: ui\gfx\ipc\gfx_param_traits.cc Rob: rest I first tried switching only the traits to serialize as uint32_t, ...
4 years, 10 months ago (2016-02-06 00:46:06 UTC) #3
Tom Sepez
https://codereview.chromium.org/1671403002/diff/20001/ui/gfx/ipc/gfx_param_traits.cc File ui/gfx/ipc/gfx_param_traits.cc (right): https://codereview.chromium.org/1671403002/diff/20001/ui/gfx/ipc/gfx_param_traits.cc#newcode310 ui/gfx/ipc/gfx_param_traits.cc:310: int start, end; can we use a stdint type ...
4 years, 10 months ago (2016-02-08 17:29:43 UTC) #4
Robert Sesek
https://codereview.chromium.org/1671403002/diff/20001/ui/gfx/range/range.cc File ui/gfx/range/range.cc (right): https://codereview.chromium.org/1671403002/diff/20001/ui/gfx/range/range.cc#newcode10 ui/gfx/range/range.cc:10: #include "base/format_macros.h" Unused now that PRIuS is gone.
4 years, 10 months ago (2016-02-08 17:41:08 UTC) #5
jam
https://codereview.chromium.org/1671403002/diff/20001/ui/gfx/ipc/gfx_param_traits.cc File ui/gfx/ipc/gfx_param_traits.cc (right): https://codereview.chromium.org/1671403002/diff/20001/ui/gfx/ipc/gfx_param_traits.cc#newcode310 ui/gfx/ipc/gfx_param_traits.cc:310: int start, end; On 2016/02/08 17:29:43, Tom Sepez wrote: ...
4 years, 10 months ago (2016-02-08 17:56:29 UTC) #6
Robert Sesek
LGTM
4 years, 10 months ago (2016-02-08 18:02:43 UTC) #7
Peter Kasting
Not LGTM We should have methods already to safely send size_ts over IPC (which force ...
4 years, 10 months ago (2016-02-09 00:52:38 UTC) #9
jabdelmalek
On 2016/02/09 00:52:38, Peter Kasting wrote: > Not LGTM > > We should have methods ...
4 years, 10 months ago (2016-02-09 01:05:26 UTC) #10
Peter Kasting
On 2016/02/09 01:05:26, jabdelmalek wrote: > On 2016/02/09 00:52:38, Peter Kasting wrote: > > Not ...
4 years, 10 months ago (2016-02-09 02:19:15 UTC) #11
Tom Sepez
On 2016/02/09 02:19:15, Peter Kasting wrote: > On 2016/02/09 01:05:26, jabdelmalek wrote: > > On ...
4 years, 10 months ago (2016-02-09 03:10:37 UTC) #12
jam
On 2016/02/09 02:19:15, Peter Kasting wrote: > On 2016/02/09 01:05:26, jabdelmalek wrote: > > On ...
4 years, 10 months ago (2016-02-09 04:36:28 UTC) #13
jam
On 2016/02/09 04:36:28, jam wrote: > On 2016/02/09 02:19:15, Peter Kasting wrote: > > On ...
4 years, 10 months ago (2016-02-09 04:46:11 UTC) #14
Peter Kasting
On 2016/02/09 04:36:28, jam wrote: > On 2016/02/09 02:19:15, Peter Kasting wrote: > > Using ...
4 years, 10 months ago (2016-02-09 06:35:34 UTC) #15
Tom Sepez
Lemme give you an LGTM on the mechanics of the change, so you're not hung ...
4 years, 10 months ago (2016-02-09 17:23:07 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1671403002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1671403002/40001
4 years, 10 months ago (2016-02-09 17:33:18 UTC) #19
Peter Kasting
Hey John, Justin and I talked, and he said to tell you he's "officially back ...
4 years, 10 months ago (2016-02-09 20:07:48 UTC) #20
Peter Kasting
John and I chatted briefly, and his primary concern is authors sending a >4 GB ...
4 years, 10 months ago (2016-02-09 23:51:31 UTC) #21
jam
On 2016/02/09 23:51:31, Peter Kasting wrote: > John and I chatted briefly, and his primary ...
4 years, 10 months ago (2016-02-10 00:12:48 UTC) #22
Peter Kasting
I asked Justin to chime in here, but I don't know if he will. As ...
4 years, 10 months ago (2016-02-10 00:19:35 UTC) #23
jam
On 2016/02/10 00:19:35, Peter Kasting wrote: > I asked Justin to chime in here, but ...
4 years, 10 months ago (2016-02-10 00:22:56 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1671403002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1671403002/40001
4 years, 10 months ago (2016-02-10 00:26:09 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-10 01:49:33 UTC) #28
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 01:50:55 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1f0b47c4a982ab2076590d95937b89f892bd4552
Cr-Commit-Position: refs/heads/master@{#374568}

Powered by Google App Engine
This is Rietveld 408576698