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

Issue 2763973002: [password_manager] Add TODO to record usages of "return std::move(foo)" pattern. (Closed)

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

Description

[password_manager] Add TODO to record usages of "return std::move(foo)" pattern. Due to a bug in the version of clang shipped with Xcode 8.x (used to build official), it is required to use sub-optimal construct "return std::move(foo)" to return local variable foo if foo is a unique pointer of a sub-class of the function prototype. Mark all occurrences of the pattern to easily find them once Xcode bug is fixed. Following https://codereview.chromium.org/2762973002/ for iOS, this CL marks the workaround patter in password manager code. BUG=703565 R=sdefresne@chromium.org Review-Url: https://codereview.chromium.org/2763973002 Cr-Commit-Position: refs/heads/master@{#458383} Committed: https://chromium.googlesource.com/chromium/src/+/e7744503e5d45e5404373b447e1499c981174eb9

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M components/password_manager/core/browser/form_fetcher_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (6 generated)
vabr (Chromium)
Hi sdefresne@, Could you please review? Looking at the failures which made me use std::move ...
3 years, 9 months ago (2017-03-21 10:46:20 UTC) #1
sdefresne
lgtm
3 years, 9 months ago (2017-03-21 10:48:56 UTC) #4
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/2763973002/1
3 years, 9 months ago (2017-03-21 10:53:34 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 12:50:07 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e7744503e5d45e5404373b447e14...

Powered by Google App Engine
This is Rietveld 408576698