Skip to content

Commit

Permalink
Lists: Fix RCTJSONStringify Breakage on Infinity
Browse files Browse the repository at this point in the history
Reviewed By: jingc

Differential Revision: D4867026

fbshipit-source-id: dfe98d5012ced80fbe10bf069c58f45d00da388b
  • Loading branch information
yungsters authored and facebook-github-bot committed Apr 11, 2017
1 parent a41292d commit dd7aa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Lists/FillRateHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let _sampleRate = null;
class FillRateHelper {
_getFrameMetrics: (index: number) => ?FrameMetrics;
_anyBlankCount = 0;
_anyBlankMinSpeed = Infinity;
_anyBlankMinSpeed = Number.MAX_SAFE_INTEGER;
_anyBlankSpeedSum = 0;
_sampleCounts = {};
_fractionBlankSum = 0;
Expand Down

0 comments on commit dd7aa36

Please sign in to comment.