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

Issue 11365041: [Sync] Re-reland fix for bug 154940 (Closed)

Created:
8 years, 1 month ago by Nicolas Zea
Modified:
8 years ago
Reviewers:
CC:
chromium-reviews, Raghu Simha, haitaol1, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Re-reland fix for bug 154940 Speculatively fixed test by making syncer::UserTypes() stack allocated at a higher scope, instead of within the for loop. I suspect on certain windows builds the for loop allocation was being dealloc'd early, hence invalidating the iterator. Original codereview at http://codereview.chromium.org/11342022/ BUG=158391 TBR=tim@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165521

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
M chrome/browser/sync/profile_sync_service.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 3 chunks +38 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 2 chunks +57 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/11365041/1
8 years, 1 month ago (2012-11-01 20:13:26 UTC) #1
commit-bot: I haz the power
Change committed as 165521
8 years, 1 month ago (2012-11-01 22:18:54 UTC) #2
akalin
8 years ago (2012-11-26 21:20:16 UTC) #3
Message was sent while issue was closed.
On 2012/11/01 22:18:54, I haz the power (commit-bot) wrote:
> Change committed as 165521

Yeah, your speculative fix is a real fix.  I wish there were an easy way to
detect that case; there's a comment in enum_set.h warning against doing
SomeFun().First(), but it's easy to miss.

I considered WeakPtrs but that seemed too heavyweight. :/

Powered by Google App Engine
This is Rietveld 408576698