Cherry-pick fix around visitEachChild to release-4.9.
#51544
+2
−2
Merged