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

Issue 2919263002: Don't move raw pointers in payments (Closed)

Created:
3 years, 6 months ago by vabr (Chromium)
Modified:
3 years, 6 months ago
Reviewers:
Mathieu
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't move raw pointers in payments Moving raw pointers does the same job as copying, but is more verbose and also more confusing: e.g., is the supposed pointer meant to be a smart one? This instance was flagged by the tool from https://codereview.chromium.org/2919243002/. The raw pointer here actually contains a heap-allocated object, but the receiving member variable is already a raw pointer, so no automatic deletion happens currently. BUG=729393 Review-Url: https://codereview.chromium.org/2919263002 Cr-Commit-Position: refs/heads/master@{#476975} Committed: https://chromium.googlesource.com/chromium/src/+/fe465afd8324f24de72a35c032da9ede5bb640f3

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc View 2 chunks +1 line, -3 lines 1 comment Download

Messages

Total messages: 12 (8 generated)
vabr (Chromium)
Hi Mathieu, Could you please review? Also, could you please confirm, that the passed dialog ...
3 years, 6 months ago (2017-06-04 13:41:58 UTC) #4
Mathieu
lgtm Thanks! https://codereview.chromium.org/2919263002/diff/1/chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc File chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc (right): https://codereview.chromium.org/2919263002/diff/1/chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc#newcode25 chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc:25: dialog_view->ShowDialog(); In the strange world of views, ...
3 years, 6 months ago (2017-06-05 13:17:33 UTC) #8
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/2919263002/1
3 years, 6 months ago (2017-06-05 13:17:42 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-05 13:21:50 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/fe465afd8324f24de72a35c032da...

Powered by Google App Engine
This is Rietveld 408576698