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

Issue 22954004: autocomplete: Fix the use of std::remove_if() function. (Closed)

Created:
7 years, 4 months ago by tfarina
Modified:
7 years, 4 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

autocomplete: 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 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/browser/autocomplete/shortcuts_provider.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
tfarina
Could you review this to me?
7 years, 4 months ago (2013-08-12 23:26:47 UTC) #1
Peter Kasting
LGTM
7 years, 4 months ago (2013-08-12 23:32:58 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/22954004/1002
7 years, 4 months ago (2013-08-12 23:48:24 UTC) #3
tfarina
7 years, 4 months ago (2013-08-13 03:18:03 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r217179 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698