Descriptionbase: Add DCHECK that double Values are finite.
JSON doesn't support NaN or positive/negative infinity. I'm
hoping that this DCHECK will slightly increase the odds that
bugs are caught before they start corrupting pref files.
BUG=73856
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97111
Patch Set 1 #Patch Set 2 : s/cmath/math.h/ #Patch Set 3 : switch to IsFinite() from float_util.h #Patch Set 4 : merge; unrelated libcros failures #Messages
Total messages: 6 (0 generated)
|