Cosmetic adjustments to ShadowNode::getAncestors
Cosmetic adjustments to ShadowNode::getAncestors

Summary:
Changelog: [internal]

Just cosmetic changes to code, shouldn't affect behaviour at all.

Reviewed By: shergin

Differential Revision: D19177494

fbshipit-source-id: b2e4d3d2cf0d30f40f2e2d950dd7a10dc7a5b5ea

pandiaraj44/react-native,pandiaraj44/react-native,hammerandchisel/react-native,facebook/react-native,exponentjs/react-native,myntra/react-native,exponent/react-native,janicduplessis/react-native,exponentjs/react-native,arthuralee/react-native,javache/react-native,pandiaraj44/react-native,myntra/react-native,javache/react-native,javache/react-native,janicduplessis/react-native,myntra/react-native,facebook/react-native,facebook/react-native,hammerandchisel/react-native,exponentjs/react-native,exponent/react-native,janicduplessis/react-native,arthuralee/react-native,janicduplessis/react-native,pandiaraj44/react-native,javache/react-native,exponentjs/react-native,hoangpham95/react-native,janicduplessis/react-native,exponentjs/react-native,hoangpham95/react-native,arthuralee/react-native,janicduplessis/react-native,myntra/react-native,arthuralee/react-native,hammerandchisel/react-native,exponent/react-native,facebook/react-native,hoangpham95/react-native,myntra/react-native,myntra/react-native,janicduplessis/react-native,exponent/react-native,facebook/react-native,facebook/react-native,myntra/react-native,hammerandchisel/react-native,exponent/react-native,myntra/react-native,javache/react-native,hammerandchisel/react-native,exponentjs/react-native,hammerandchisel/react-native,hammerandchisel/react-native,facebook/react-native,javache/react-native,pandiaraj44/react-native,facebook/react-native,myntra/react-native,pandiaraj44/react-native,hoangpham95/react-native,exponent/react-native,arthuralee/react-native,javache/react-native,facebook/react-native,hoangpham95/react-native,hoangpham95/react-native,exponentjs/react-native,pandiaraj44/react-native,exponent/react-native,javache/react-native,pandiaraj44/react-native,hoangpham95/react-native,javache/react-native,hammerandchisel/react-native,hoangpham95/react-native,janicduplessis/react-native,exponent/react-native,exponentjs/react-native