Chromium Code Reviews
DescriptionRemove unused lambda capture in browser_presentation_connection_proxy_unittest.
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 //chrome, //services/ui and //ui.
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/2679423004
Cr-Commit-Position: refs/heads/master@{#449120}
Committed: https://chromium.googlesource.com/chromium/src/+/d5c9128c3d52b14e61e82279963348fdf0b07a83
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||