The new method can be used to check if the surface has a pending frame callback. CCBUG: 428499
mentioned in commit 6f5e8e7a