allowFirstFrameReport method

void allowFirstFrameReport()

When called after deferFirstFrameReport: tell the framework to report the frame it is building as a "useful" first frame.

This method may only be called once for each corresponding call to deferFirstFrameReport.

Implementation

void allowFirstFrameReport() {
  if (!kReleaseMode) {
    assert(_deferFirstFrameReportCount >= 1);
    _deferFirstFrameReportCount -= 1;
  }
}