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

Issue 65643006: Make a copy before enumerating profiles because the list might change underneath. (Closed)

Created:
7 years, 1 month ago by pastarmovj
Modified:
7 years, 1 month ago
Reviewers:
rpetterson
CC:
chromium-reviews, rginda+watch_chromium.org
Visibility:
Public.

Description

Make a copy before enumerating profiles because the list might change underneath. If a profile is created/removed as a result of the call to AddProfile inside it will crash because the iterator is invalidated. BUG=319676 TEST=On Mac as described in the bug. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235736

Patch Set 1 #

Patch Set 2 : . #

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

Messages

Total messages: 4 (0 generated)
pastarmovj
Hey Rachel, sorry to bother again but here is a small fix for a bug ...
7 years, 1 month ago (2013-11-15 15:03:22 UTC) #1
rpetterson
On 2013/11/15 15:03:22, pastarmovj wrote: > Hey Rachel, > sorry to bother again but here ...
7 years, 1 month ago (2013-11-15 18:39:28 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/65643006/20001
7 years, 1 month ago (2013-11-18 12:47:01 UTC) #3
commit-bot: I haz the power
7 years, 1 month ago (2013-11-18 16:26:36 UTC) #4
Message was sent while issue was closed.
Change committed as 235736

Powered by Google App Engine
This is Rietveld 408576698