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

Issue 9283028: Add scoped_ptr<>::PassAs<>(). (Closed)

Created:
8 years, 11 months ago by Sergey Ulanov
Modified:
8 years, 11 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, brettw-cc_chromium.org, sergeyu+watch_chromium.org, awong
Visibility:
Public.

Description

Add scoped_ptr<>::PassAs<>(). The new PassAs<>() method can be used to explicitly upcast scoped_ptr instances. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118958

Patch Set 1 : - #

Patch Set 2 : - #

Patch Set 3 : - #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -4 lines) Patch
M base/base.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M base/memory/scoped_ptr.h View 1 2 2 chunks +21 lines, -0 lines 2 comments Download
M base/memory/scoped_ptr_unittest.cc View 2 chunks +21 lines, -0 lines 0 comments Download
A base/memory/scoped_ptr_unittest.nc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M remoting/protocol/jingle_session_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/pepper_session_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/v1_authenticator.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sergey Ulanov
8 years, 11 months ago (2012-01-24 19:22:45 UTC) #1
Wez
LGTM for remoting/.
8 years, 11 months ago (2012-01-24 21:02:08 UTC) #2
darin (slow to review)
LGTM http://codereview.chromium.org/9283028/diff/6001/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): http://codereview.chromium.org/9283028/diff/6001/base/memory/scoped_ptr.h#newcode202 base/memory/scoped_ptr.h:202: scoped_ptr<PassAsType> PassAs() { Had you considered putting this ...
8 years, 11 months ago (2012-01-24 21:17:53 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/9283028/diff/6001/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): http://codereview.chromium.org/9283028/diff/6001/base/memory/scoped_ptr.h#newcode202 base/memory/scoped_ptr.h:202: scoped_ptr<PassAsType> PassAs() { On 2012/01/24 21:17:53, darin wrote: > ...
8 years, 11 months ago (2012-01-24 21:55:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9283028/6001
8 years, 11 months ago (2012-01-24 21:56:01 UTC) #5
commit-bot: I haz the power
8 years, 11 months ago (2012-01-25 00:33:07 UTC) #6
Change committed as 118958

Powered by Google App Engine
This is Rietveld 408576698