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

Issue 2787123006: Remove Base Class from ScopedComPtr and Deprecate (Closed)

Created:
3 years, 8 months ago by robliao
Modified:
3 years, 8 months ago
Reviewers:
scottmg
CC:
chromium-reviews, grt+watch_chromium.org, vmpstr+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove Base Class from ScopedComPtr and Deprecate Removed scoped_refptr as a superclass of ScopedComPtr and inlined necessary methods scoped_refptr from to keep the build compiling. This also starts the train of CLs that deprecates ScopedComPtr in favor of ComPtr. BUG=638327 Review-Url: https://codereview.chromium.org/2787123006 Cr-Commit-Position: refs/heads/master@{#461531} Committed: https://chromium.googlesource.com/chromium/src/+/c2bea96144eaa81bf54ac4a341a9110a015fe918

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add swap() (is_chrome_branded isn't run on the CQ) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -35 lines) Patch
M base/win/scoped_comptr.h View 1 6 chunks +130 lines, -35 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
robliao
Here we go!
3 years, 8 months ago (2017-04-01 01:29:12 UTC) #8
scottmg
lgtm https://codereview.chromium.org/2787123006/diff/1/base/win/scoped_comptr.h File base/win/scoped_comptr.h (right): https://codereview.chromium.org/2787123006/diff/1/base/win/scoped_comptr.h#newcode62 base/win/scoped_comptr.h:62: ptr_ = nullptr; I assume you swapped these ...
3 years, 8 months ago (2017-04-03 18:23:22 UTC) #9
robliao
Also added swap(). The CQ doesn't run branded builds! https://codereview.chromium.org/2787123006/diff/1/base/win/scoped_comptr.h File base/win/scoped_comptr.h (right): https://codereview.chromium.org/2787123006/diff/1/base/win/scoped_comptr.h#newcode62 base/win/scoped_comptr.h:62: ...
3 years, 8 months ago (2017-04-03 19:22:22 UTC) #10
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/2787123006/20001
3 years, 8 months ago (2017-04-03 20:47:19 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 20:57:04 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c2bea96144eaa81bf54ac4a341a9...

Powered by Google App Engine
This is Rietveld 408576698