Descriptionautocomplete: Fix the use of std::remove_if() function.
To properly remove the items from the container we have to use
the erase-remove-idiom, see wikipedia article
http://en.wikipedia.org/wiki/Erase-remove_idiom.
This fixes the problem as described in http://www.viva64.com/en/b/0205/#ID0ET6CI
BUG=271541
R=pkasting@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217179
Patch Set 1 : #
Messages
Total messages: 4 (0 generated)
|