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

Issue 502573006: Remove implicit conversions from scoped_refptr to T* in mojo/ (Closed)

Created:
6 years, 4 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
yzshen1, viettrungluu
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove implicit conversions from scoped_refptr to T* in mojo/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Committed: https://crrev.com/f28421761b5b19f33c011b3ca016bdb88b858c63 Cr-Commit-Position: refs/heads/master@{#291766}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -82 lines) Patch
M mojo/application_manager/background_shell_application_loader.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dbus/dbus_external_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/embedder/embedder.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M mojo/embedder/simple_platform_shared_buffer_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/examples/pepper_container_app/mojo_ppapi_globals.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/gles2/command_buffer_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/services/network/url_loader_impl.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/services/view_manager/context_factory_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/shell/app_child_process.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/spy/spy.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/system/channel.cc View 2 chunks +2 lines, -2 lines 3 comments Download
M mojo/system/channel_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/core.cc View 13 chunks +13 lines, -13 lines 0 comments Download
M mojo/system/data_pipe_consumer_dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/data_pipe_producer_dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/handle_table.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/system/message_in_transit.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/message_pipe.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/message_pipe_dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/multiprocess_message_pipe_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/system/platform_handle_dispatcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/proxy_message_pipe_endpoint.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/proxy_message_pipe_endpoint.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/remote_message_pipe_unittest.cc View 7 chunks +9 lines, -9 lines 0 comments Download
M mojo/system/shared_buffer_dispatcher.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M mojo/system/shared_buffer_dispatcher_unittest.cc View 7 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dcheng
6 years, 4 months ago (2014-08-25 19:55:32 UTC) #1
viettrungluu
I think this change is all wrong. scoped_refptr should be testable. https://codereview.chromium.org/502573006/diff/1/mojo/system/channel.cc File mojo/system/channel.cc (right): ...
6 years, 4 months ago (2014-08-25 19:57:05 UTC) #2
dcheng
https://codereview.chromium.org/502573006/diff/1/mojo/system/channel.cc File mojo/system/channel.cc (right): https://codereview.chromium.org/502573006/diff/1/mojo/system/channel.cc#newcode91 mojo/system/channel.cc:91: DCHECK(!it->second.message_pipe.get()); On 2014/08/25 19:57:05, viettrungluu wrote: > Eh? This ...
6 years, 4 months ago (2014-08-25 19:58:29 UTC) #3
viettrungluu
On 2014/08/25 19:58:29, dcheng (OOO) wrote: > https://codereview.chromium.org/502573006/diff/1/mojo/system/channel.cc > File mojo/system/channel.cc (right): > > https://codereview.chromium.org/502573006/diff/1/mojo/system/channel.cc#newcode91 ...
6 years, 4 months ago (2014-08-25 20:09:49 UTC) #4
dcheng
On 2014/08/25 at 20:09:49, viettrungluu wrote: > On 2014/08/25 19:58:29, dcheng (OOO) wrote: > > ...
6 years, 4 months ago (2014-08-25 20:18:16 UTC) #5
viettrungluu
On 2014/08/25 20:18:16, dcheng (OOO) wrote: > On 2014/08/25 at 20:09:49, viettrungluu wrote: > > ...
6 years, 4 months ago (2014-08-25 20:38:47 UTC) #6
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 4 months ago (2014-08-25 21:07:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/502573006/1
6 years, 4 months ago (2014-08-25 21:09:35 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (1) as 6cfdecfe69a1ae2a6062a74c72c4a83c62b9c74a
6 years, 4 months ago (2014-08-25 21:57:57 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:37:46 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f28421761b5b19f33c011b3ca016bdb88b858c63
Cr-Commit-Position: refs/heads/master@{#291766}

Powered by Google App Engine
This is Rietveld 408576698