forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix adding duplicate trials to allocator (finally)
It looks like the reason we were crashing from shared memory was because simulated field trials were getting added to the allocator when they shouldn't be. This CL now checks |trial_registered_| before adding the the trial to the allocator. Also includes a unittest for this behavior. BUG=666230 Review-Url: https://codereview.chromium.org/2517193003 Cr-Commit-Position: refs/heads/master@{#434046}
- Loading branch information
lawrencewu
authored and
Commit bot
committed
Nov 23, 2016
1 parent
ccb91fd
commit 46df0ef
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters