DescriptionRemove DCHECKs that no longer reflect reality.
It used to be that CreateEntropyProvider() was only
called once in a process, during the init sequence,
and then never again. So previously, these DCHECKs
could never fire by virtue of the function always
being called once.
Now that this function is called by VariationsService
when simulating new variations seeds, it will be
called multiple times during the process life time.
It's perfectly valid to return an entropy provider
that uses a different entropy source in that context
(e.g. post changing your UMA opt-in setting), since
that's exactly what the simulation code wants (i.e.
it simulates what will happen on a restart).
So simply remove the checks, since their conditions
no longer hold.
BUG=405010
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290706
Patch Set 1 #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|