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

Issue 500383003: Remove implicit conversions from scoped_refptr to T* in components/ (Closed)

Created:
6 years, 3 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
Cait (Slow)
CC:
asvitkine+watch_chromium.org, benquan, chromium-reviews, Dane Wallinga, dyu1, estade+watch_chromium.org, haitaol+watch_chromium.org, Ilya Sherman, maniscalco+watch_chromium.org, rouslan+autofillwatch_chromium.org, tim+watch_chromium.org, zea+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 components/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Committed: https://crrev.com/3c331bb5271f1beeac03bd6910002235801d3ff2 Cr-Commit-Position: refs/heads/master@{#291964}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -35 lines) Patch
M components/dom_distiller/core/distiller.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/gcm_driver/gcm_client_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/precache/core/precache_fetcher.cc View 4 chunks +7 lines, -4 lines 0 comments Download
M components/rappor/log_uploader_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M components/search_engines/template_url_service.cc View 8 chunks +8 lines, -8 lines 0 comments Download
M components/signin/core/browser/test_signin_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/suggestions/suggestions_service_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync_driver/non_blocking_data_type_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/non_ui_data_type_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/translate/core/browser/translate_download_manager.h View 1 chunk +3 lines, -1 line 0 comments Download
M components/usb_service/usb_device_handle_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/usb_service/usb_device_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/webdata/common/web_database_service.cc View 7 chunks +7 lines, -7 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
dcheng
dcheng@chromium.org changed reviewers: + caitkp@chromium.org
6 years, 3 months ago (2014-08-26 16:33:11 UTC) #1
dcheng
Unfortunately, we can't make scoped_refptr testable until the conversion operator has been removed. While it ...
6 years, 3 months ago (2014-08-26 16:33:11 UTC) #2
Cait (Slow)
https://codereview.chromium.org/500383003/diff/1/components/webdata/common/web_database_service.cc File components/webdata/common/web_database_service.cc (right): https://codereview.chromium.org/500383003/diff/1/components/webdata/common/web_database_service.cc#newcode71 components/webdata/common/web_database_service.cc:71: Bind(&WebDataServiceBackend::InitDatabase, wds_backend_)); Do scoped_refptr's in Bind() calls need to ...
6 years, 3 months ago (2014-08-26 18:01:35 UTC) #3
dcheng
https://codereview.chromium.org/500383003/diff/1/components/webdata/common/web_database_service.cc File components/webdata/common/web_database_service.cc (right): https://codereview.chromium.org/500383003/diff/1/components/webdata/common/web_database_service.cc#newcode71 components/webdata/common/web_database_service.cc:71: Bind(&WebDataServiceBackend::InitDatabase, wds_backend_)); On 2014/08/26 18:01:35, Cait Phillips wrote: > ...
6 years, 3 months ago (2014-08-26 18:09:38 UTC) #4
Cait (Slow)
Thanks for the clarification -- lgtm.
6 years, 3 months ago (2014-08-26 18:47:16 UTC) #5
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-26 18:48:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/500383003/1
6 years, 3 months ago (2014-08-26 18:49:34 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (1) as cdf6452bedef472d76d07dfb362cf601ac7eb30c
6 years, 3 months ago (2014-08-26 19:29:09 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:44:57 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3c331bb5271f1beeac03bd6910002235801d3ff2
Cr-Commit-Position: refs/heads/master@{#291964}

Powered by Google App Engine
This is Rietveld 408576698