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

Issue 506683002: Remove implicit conversions from scoped_refptr to T* in media/ (Closed)

Created:
6 years, 4 months ago by dcheng
Modified:
6 years, 3 months ago
CC:
avayvod+watch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, eme-reviews_chromium.org, feature-media-reviews_chromium.org, hclam+watch_chromium.org, hguihot+watch_chromium.org, hubbe+watch_chromium.org, imcheng+watch_chromium.org, jasonroberts+watch_google.com, mcasas+watch_chromium.org, mikhal+watch_chromium.org, miu+watch_chromium.org, posciak+watch_chromium.org, pwestin+watch_google.com, wjia+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 media/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Committed: https://crrev.com/d048bd27d5abdc271b10df7d3b434f9b9dd767d3 Cr-Commit-Position: refs/heads/master@{#292082}

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -159 lines) Patch
M media/audio/audio_device_thread.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/audio/audio_output_proxy_unittest.cc View 6 chunks +34 lines, -26 lines 0 comments Download
M media/base/audio_discard_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/audio_renderer_mixer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/audio_splicer.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M media/base/audio_splicer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/stream_parser_buffer.cc View 6 chunks +9 lines, -9 lines 0 comments Download
M media/base/stream_parser_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/text_renderer.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M media/base/video_frame.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/video_frame_pool.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/cast_environment.h View 1 chunk +2 lines, -6 lines 0 comments Download
M media/cast/cast_environment.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M media/cast/cast_sender_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/net/udp_transport.cc View 2 chunks +9 lines, -10 lines 0 comments Download
M media/cast/receiver/audio_decoder.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M media/cast/receiver/cast_receiver_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/receiver/video_decoder.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M media/cast/receiver/video_decoder_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/sender/audio_encoder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/sender/external_video_encoder.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M media/cast/sender/external_video_encoder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/sender/video_encoder_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/sender/video_sender_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M media/cast/test/fake_media_source.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/utility/udp_proxy.cc View 3 chunks +5 lines, -6 lines 5 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/audio_renderer_impl.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M media/filters/audio_renderer_impl_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/decoder_stream.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M media/filters/fake_video_decoder_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/frame_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/frame_processor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/opus_audio_decoder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 8 chunks +12 lines, -12 lines 0 comments Download
M media/filters/video_renderer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/video_renderer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/vpx_video_decoder.cc View 4 chunks +4 lines, -4 lines 3 comments Download
M media/formats/webm/webm_cluster_parser.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M media/video/capture/fake_video_capture_device_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
dcheng
dcheng@chromium.org changed reviewers: + ddorwin@chromium.org
6 years, 4 months ago (2014-08-25 19:01:43 UTC) #1
dcheng
6 years, 4 months ago (2014-08-25 19:01:44 UTC) #2
ddorwin
Most of these are conditionals or DCHECKs. A bunch of other uses are in tests, ...
6 years, 4 months ago (2014-08-25 21:26:40 UTC) #3
dcheng
Sorry, I really should have split media/cast into a separate review to make this more ...
6 years, 4 months ago (2014-08-25 21:33:25 UTC) #4
ddorwin
I understand that this doesn't make things worse, but if the point of removing the ...
6 years, 4 months ago (2014-08-25 21:39:43 UTC) #5
dcheng
dcheng@chromium.org changed reviewers: + hubbe@chromium.org, xhwang@chromium.org
6 years, 4 months ago (2014-08-25 21:44:27 UTC) #6
dcheng
On 2014/08/25 at 21:39:43, ddorwin wrote: > I understand that this doesn't make things worse, ...
6 years, 4 months ago (2014-08-25 21:44:27 UTC) #7
ddorwin
ddorwin@chromium.org changed reviewers: + tomfinegan@chromium.org
6 years, 4 months ago (2014-08-25 23:57:35 UTC) #8
ddorwin
On 2014/08/25 21:44:27, dcheng (OOO) wrote: > On 2014/08/25 at 21:39:43, ddorwin wrote: > > ...
6 years, 4 months ago (2014-08-25 23:59:09 UTC) #9
Tom Finegan
lgtm VpxVideoDecoder https://codereview.chromium.org/506683002/diff/1/media/filters/vpx_video_decoder.cc File media/filters/vpx_video_decoder.cc (right): https://codereview.chromium.org/506683002/diff/1/media/filters/vpx_video_decoder.cc#newcode270 media/filters/vpx_video_decoder.cc:270: memory_pool_.get())) { On 2014/08/25 21:33:25, dcheng (OOO) ...
6 years, 4 months ago (2014-08-26 00:26:11 UTC) #10
hubbe
https://codereview.chromium.org/506683002/diff/1/media/cast/test/utility/udp_proxy.cc File media/cast/test/utility/udp_proxy.cc (right): https://codereview.chromium.org/506683002/diff/1/media/cast/test/utility/udp_proxy.cc#newcode695 media/cast/test/utility/udp_proxy.cc:695: result = socket_->SendTo(buf.get(), On 2014/08/25 21:33:25, dcheng (OOO) wrote: ...
6 years, 3 months ago (2014-08-27 00:46:21 UTC) #11
ddorwin
LGTM with the two reviews above.
6 years, 3 months ago (2014-08-27 00:47:32 UTC) #12
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-27 01:41:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/506683002/1
6 years, 3 months ago (2014-08-27 01:42:30 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (1) as 15a7c1cbb7a4d67a95b4e3c380b1a794e17806d1
6 years, 3 months ago (2014-08-27 02:25:31 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:49:13 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d048bd27d5abdc271b10df7d3b434f9b9dd767d3
Cr-Commit-Position: refs/heads/master@{#292082}

Powered by Google App Engine
This is Rietveld 408576698