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

Issue 1335353002: Replace implicit_cast usage with static_cast. (Closed)

Created:
5 years, 3 months ago by danakj
Modified:
5 years, 3 months ago
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Replace implicit_cast usage with static_cast. chromium's implicit_cast is going to be removed so stop using it. BUG=529769, 472900 R=mark@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/5069c2903a1be6e717c526595c85f8736033e5e8

Patch Set 1 #

Patch Set 2 : implicitcast: . #

Total comments: 4

Patch Set 3 : implicitcast: fixes #

Total comments: 4

Patch Set 4 : implicitcast: drops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -2 lines) Patch
M client/capture_context_mac_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M client/simple_string_dictionary.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M client/simulate_crash_mac.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M client/simulate_crash_mac_test.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_module_writer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_module_writer_test.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_system_info_writer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M minidump/test/minidump_writable_test_util.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M snapshot/cpu_context.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M snapshot/mac/mach_o_image_reader.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M snapshot/mac/mach_o_image_reader_test.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
A util/misc/implicit_cast.h View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
M util/util.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (2 generated)
danakj
Chromium side this depends on is here: https://codereview.chromium.org/1340683002/
5 years, 3 months ago (2015-09-11 23:21:58 UTC) #1
danakj
Hey could one of y'all review this? Thanks!
5 years, 3 months ago (2015-09-11 23:22:57 UTC) #3
Mark Mentovai
I kind of like implicit_cast, maybe we keep it in crashpad/util.
5 years, 3 months ago (2015-09-11 23:25:56 UTC) #4
danakj
On 2015/09/11 23:25:56, Mark Mentovai - August is over wrote: > I kind of like ...
5 years, 3 months ago (2015-09-11 23:26:15 UTC) #5
danakj
PTAL btw apparently crashpad is not allowed to use base like this? http://crbug.com/468375 is similar.
5 years, 3 months ago (2015-09-11 23:33:39 UTC) #6
scottmg
On 2015/09/11 23:33:39, danakj wrote: > PTAL > > btw apparently crashpad is not allowed ...
5 years, 3 months ago (2015-09-11 23:35:00 UTC) #7
danakj
On 2015/09/11 23:33:39, danakj wrote: > PTAL > > btw apparently crashpad is not allowed ...
5 years, 3 months ago (2015-09-11 23:35:46 UTC) #8
danakj
On 2015/09/11 23:35:00, scottmg wrote: > On 2015/09/11 23:33:39, danakj wrote: > > PTAL > ...
5 years, 3 months ago (2015-09-11 23:41:22 UTC) #9
scottmg
On 2015/09/11 23:41:22, danakj wrote: > On 2015/09/11 23:35:00, scottmg wrote: > > On 2015/09/11 ...
5 years, 3 months ago (2015-09-11 23:47:52 UTC) #10
scottmg
https://codereview.chromium.org/1335353002/diff/20001/util/misc/implicit_cast.h File util/misc/implicit_cast.h (right): https://codereview.chromium.org/1335353002/diff/20001/util/misc/implicit_cast.h#newcode1 util/misc/implicit_cast.h:1: // Copyright 2015 The Crashpad Authors. All rights reserved. ...
5 years, 3 months ago (2015-09-11 23:57:34 UTC) #11
Mark Mentovai
danakj wrote: > On 2015/09/11 23:33:39, danakj wrote: > > PTAL > > > > ...
5 years, 3 months ago (2015-09-12 00:07:19 UTC) #12
danakj
Thanks, PTAL https://codereview.chromium.org/1335353002/diff/20001/util/misc/implicit_cast.h File util/misc/implicit_cast.h (right): https://codereview.chromium.org/1335353002/diff/20001/util/misc/implicit_cast.h#newcode1 util/misc/implicit_cast.h:1: // Copyright 2015 The Crashpad Authors. All ...
5 years, 3 months ago (2015-09-12 00:10:58 UTC) #13
Mark Mentovai
https://codereview.chromium.org/1335353002/diff/40001/client/capture_context_mac_test.cc File client/capture_context_mac_test.cc (right): https://codereview.chromium.org/1335353002/diff/40001/client/capture_context_mac_test.cc#newcode22 client/capture_context_mac_test.cc:22: #include "base/basictypes.h" Drop this. https://codereview.chromium.org/1335353002/diff/40001/minidump/test/minidump_writable_test_util.cc File minidump/test/minidump_writable_test_util.cc (right): https://codereview.chromium.org/1335353002/diff/40001/minidump/test/minidump_writable_test_util.cc#newcode19 ...
5 years, 3 months ago (2015-09-12 00:15:15 UTC) #15
danakj
Thanks, PTAL https://codereview.chromium.org/1335353002/diff/40001/client/capture_context_mac_test.cc File client/capture_context_mac_test.cc (right): https://codereview.chromium.org/1335353002/diff/40001/client/capture_context_mac_test.cc#newcode22 client/capture_context_mac_test.cc:22: #include "base/basictypes.h" On 2015/09/12 00:15:14, Mark Mentovai ...
5 years, 3 months ago (2015-09-12 00:17:47 UTC) #16
Mark Mentovai
LGTM
5 years, 3 months ago (2015-09-12 00:24:37 UTC) #17
scottmg
Dana, do you want me to land this?
5 years, 3 months ago (2015-09-14 18:05:18 UTC) #18
scottmg
5 years, 3 months ago (2015-09-14 18:09:50 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
5069c2903a1be6e717c526595c85f8736033e5e8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698