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

Issue 2605483002: Remove usages of raw new (Closed)

Created:
3 years, 12 months ago by jdoerrie
Modified:
3 years, 12 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove usages of raw new This change introduces a cleanup mentioned in http://crrev.com/2598003002. Raw usages of new are replaced by base::MakeUnique. BUG=676785 R=vabr@chromium.org Committed: https://crrev.com/3402daf429bf0513a80c06f082d5668b6ec43235 Cr-Commit-Position: refs/heads/master@{#440616}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Replace unique_ptrs with stack allocations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -15 lines) Patch
M chrome/browser/password_manager/credential_manager_browsertest.cc View 1 4 chunks +11 lines, -15 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (7 generated)
jdoerrie
Hi Vaclav, please take a look :) https://codereview.chromium.org/2605483002/diff/1/chrome/browser/password_manager/credential_manager_browsertest.cc File chrome/browser/password_manager/credential_manager_browsertest.cc (right): https://codereview.chromium.org/2605483002/diff/1/chrome/browser/password_manager/credential_manager_browsertest.cc#newcode217 chrome/browser/password_manager/credential_manager_browsertest.cc:217: auto prompt_observer(base::MakeUnique<BubbleObserver>(WebContents())); ...
3 years, 12 months ago (2016-12-23 10:01:11 UTC) #3
vabr (Chromium)
This already LGTM, but +1 to the suggestion to allocate BubbleObserver on the stack instead. ...
3 years, 12 months ago (2016-12-23 10:03:46 UTC) #4
jdoerrie
https://codereview.chromium.org/2605483002/diff/1/chrome/browser/password_manager/credential_manager_browsertest.cc File chrome/browser/password_manager/credential_manager_browsertest.cc (right): https://codereview.chromium.org/2605483002/diff/1/chrome/browser/password_manager/credential_manager_browsertest.cc#newcode217 chrome/browser/password_manager/credential_manager_browsertest.cc:217: auto prompt_observer(base::MakeUnique<BubbleObserver>(WebContents())); On 2016/12/23 10:03:46, vabr (Chromium) wrote: > ...
3 years, 12 months ago (2016-12-23 10:22:52 UTC) #5
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/2605483002/20001
3 years, 12 months ago (2016-12-23 10:23:10 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/fc3f8238108cb24f9723ab3c57f111d334d4e135
3 years, 12 months ago (2016-12-23 11:02:15 UTC) #11
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 11:04:38 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3402daf429bf0513a80c06f082d5668b6ec43235
Cr-Commit-Position: refs/heads/master@{#440616}

Powered by Google App Engine
This is Rietveld 408576698