I _think_ `waitForNextPaint` will always be triggered first since `tryWaitForFullRepaint` will trigger at least one repaint.

Since we have a security timeout in `tryWaitForFullRepaint` I think it's safe to have only this.