Chromium Code Reviews
DescriptionFix unused lambda captures in Blink.
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 WebKit/Blink.
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/2645613003
Cr-Commit-Position: refs/heads/master@{#444477}
Committed: https://chromium.googlesource.com/chromium/src/+/5cbffe1aa36f518681414e7bed5627a57449b58a
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|
||||||||||||||||||||||||||||