()
| 6984 | } |
| 6985 | |
| 6986 | function recordScheduleUpdate() { |
| 6987 | if (enableUserTimingAPI) { |
| 6988 | if (isCommitting) { |
| 6989 | hasScheduledUpdateInCurrentCommit = true; |
| 6990 | } |
| 6991 | if (currentPhase !== null && currentPhase !== 'componentWillMount' && currentPhase !== 'componentWillReceiveProps') { |
| 6992 | hasScheduledUpdateInCurrentPhase = true; |
| 6993 | } |
| 6994 | } |
| 6995 | } |
| 6996 | |
| 6997 | function startRequestCallbackTimer() { |
| 6998 | if (enableUserTimingAPI) { |