Fix deprecation warnings.
Fix deprecation warnings.

Summary: `propagateIfInstanceOf` is deprecated.

Reviewed By: bobyangyf

fbshipit-source-id: 3c3727c009

SeleniumHQ/buck,rmaz/buck,JoelMarcey/buck,SeleniumHQ/buck,rmaz/buck,brettwooldridge/buck,Addepar/buck,Addepar/buck,Addepar/buck,romanoid/buck,romanoid/buck,SeleniumHQ/buck,SeleniumHQ/buck,SeleniumHQ/buck,kageiit/buck,brettwooldridge/buck,rmaz/buck,zpao/buck,romanoid/buck,kageiit/buck,zpao/buck,Addepar/buck,zpao/buck,JoelMarcey/buck,Addepar/buck,Addepar/buck,brettwooldridge/buck,JoelMarcey/buck,romanoid/buck,brettwooldridge/buck,Addepar/buck,SeleniumHQ/buck,rmaz/buck,brettwooldridge/buck,SeleniumHQ/buck,romanoid/buck,brettwooldridge/buck,romanoid/buck,kageiit/buck,JoelMarcey/buck,SeleniumHQ/buck,nguyentruongtho/buck,romanoid/buck,romanoid/buck,rmaz/buck,SeleniumHQ/buck,nguyentruongtho/buck,SeleniumHQ/buck,romanoid/buck,brettwooldridge/buck,JoelMarcey/buck,zpao/buck,facebook/buck,kageiit/buck,romanoid/buck,rmaz/buck,facebook/buck,SeleniumHQ/buck,facebook/buck,JoelMarcey/buck,JoelMarcey/buck,romanoid/buck,romanoid/buck,Addepar/buck,JoelMarcey/buck,JoelMarcey/buck,rmaz/buck,kageiit/buck,JoelMarcey/buck,Addepar/buck,Addepar/buck,facebook/buck,Addepar/buck,romanoid/buck,facebook/buck,brettwooldridge/buck,kageiit/buck,rmaz/buck,brettwooldridge/buck,zpao/buck,rmaz/buck,Addepar/buck,rmaz/buck,zpao/buck,brettwooldridge/buck,brettwooldridge/buck,kageiit/buck,Addepar/buck,rmaz/buck,rmaz/buck,nguyentruongtho/buck,zpao/buck,facebook/buck,SeleniumHQ/buck,facebook/buck,JoelMarcey/buck,brettwooldridge/buck,nguyentruongtho/buck,nguyentruongtho/buck,rmaz/buck,JoelMarcey/buck,SeleniumHQ/buck,JoelMarcey/buck,nguyentruongtho/buck,brettwooldridge/buck,nguyentruongtho/buck