Chromium Code Reviews
DescriptionFix unused lambda captures in //content.
Clang just got a new warning about unused lambda captures,
and that requires us to clean all places with this issue
across all the Chromium code base. This CL fixes all such
cases in //content.
An example of a code that is no longer considered normal is
auto g = [i, j]() { printf("%d\n", i); };
in which j is never used in the lambda and therefore its capture is unnecessary.
BUG=681136
Review-Url: https://codereview.chromium.org/2644133004
Cr-Commit-Position: refs/heads/master@{#445061}
Committed: https://chromium.googlesource.com/chromium/src/+/bbbf64cf6fa9c2ec032d680d1fbb08a60e5915ba
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||