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

Issue 2850683002: Remove ScopedComPtr::ReceiveVoid and Add ScopedComPtrRef (Closed)

Created:
3 years, 7 months ago by robliao
Modified:
3 years, 7 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, dcheng, dmazzoni+watch_chromium.org, dougt+watch_chromium.org, dtseng+watch_chromium.org, feature-media-reviews_chromium.org, grt+watch_chromium.org, jam, je_julie, nektar+watch_chromium.org, vmpstr+watch_chromium.org, wfh+watch_chromium.org, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ScopedComPtr::ReceiveVoid and Add ScopedComPtrRef Since there is no equivalent of ScopedComPtr::ReceiveVoid in ComPtr, we have to mimic ComPtrRef and add ScopedComPtrRef to get the same convenient void** access. This does introduce some complications for uses of ScopedComPtr<T>* in templates and in concrete types, but there aren't very many of those. BUG=638327 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel TBR=dalecurtis@chromium.org, thakis@chromium.org, wez@chromium.org Review-Url: https://codereview.chromium.org/2850683002 Cr-Commit-Position: refs/heads/master@{#468163} Committed: https://chromium.googlesource.com/chromium/src/+/6fc41c68172a8f2644faef0a8deb6d8a7eb1aafb

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add Explicit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -43 lines) Patch
M base/win/scoped_comptr.h View 1 5 chunks +43 lines, -7 lines 0 comments Download
M base/win/win_util.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/google/google_update_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/update_client/background_downloader_win.cc View 2 chunks +7 lines, -6 lines 0 comments Download
M content/browser/accessibility/accessibility_win_browsertest.cc View 4 chunks +9 lines, -7 lines 0 comments Download
M media/audio/win/audio_low_latency_input_win.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M media/audio/win/core_audio_util_win.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M remoting/host/audio_capturer_win.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ui/gl/gl_angle_util_win.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 29 (18 generated)
robliao
scottmg: Please review this CL. Thanks!
3 years, 7 months ago (2017-04-27 23:09:27 UTC) #7
scottmg
lgtm https://codereview.chromium.org/2850683002/diff/1/base/win/scoped_comptr.h File base/win/scoped_comptr.h (right): https://codereview.chromium.org/2850683002/diff/1/base/win/scoped_comptr.h#newcode239 base/win/scoped_comptr.h:239: ScopedComPtrRef(T* scoped_com_ptr) : scoped_com_ptr_(scoped_com_ptr) {} explicit
3 years, 7 months ago (2017-04-27 23:16:07 UTC) #8
robliao
Reviewers: There are two types of changes in this CL. You'll find your username under ...
3 years, 7 months ago (2017-04-28 17:54:51 UTC) #13
Sergey Ulanov
remoting lgtm
3 years, 7 months ago (2017-04-28 17:58:18 UTC) #15
DaleCurtis
lgtm
3 years, 7 months ago (2017-04-28 18:10:29 UTC) #16
Sorin Jianu
lgtm thank you! components/update_client/ lgtm
3 years, 7 months ago (2017-04-28 18:20:14 UTC) #18
waffles
lgtm
3 years, 7 months ago (2017-04-28 18:38:08 UTC) #19
Nico
rs-lgtm
3 years, 7 months ago (2017-04-28 20:33:09 UTC) #20
dmazzoni
lgtm for accessibility_win_browsertest.cc
3 years, 7 months ago (2017-04-28 22:21:25 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2850683002/20001
3 years, 7 months ago (2017-04-28 22:34:06 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 22:41:43 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6fc41c68172a8f2644faef0a8deb...

Powered by Google App Engine
This is Rietveld 408576698