Switch to non-deprecated method
Switch to non-deprecated method

Test Plan: CI

Reviewed By: plamenko

fbshipit-source-id: dce1dc8

shybovycha/buck,romanoid/buck,sdwilsh/buck,grumpyjames/buck,facebook/buck,SeleniumHQ/buck,sdwilsh/buck,brettwooldridge/buck,dsyang/buck,kageiit/buck,darkforestzero/buck,k21/buck,marcinkwiatkowski/buck,kageiit/buck,zpao/buck,darkforestzero/buck,JoelMarcey/buck,brettwooldridge/buck,kageiit/buck,SeleniumHQ/buck,daedric/buck,marcinkwiatkowski/buck,LegNeato/buck,SeleniumHQ/buck,JoelMarcey/buck,Addepar/buck,dsyang/buck,JoelMarcey/buck,grumpyjames/buck,daedric/buck,facebook/buck,daedric/buck,facebook/buck,nguyentruongtho/buck,robbertvanginkel/buck,romanoid/buck,marcinkwiatkowski/buck,robbertvanginkel/buck,darkforestzero/buck,darkforestzero/buck,dsyang/buck,shybovycha/buck,davido/buck,grumpyjames/buck,davido/buck,robbertvanginkel/buck,zhan-xiong/buck,zhan-xiong/buck,grumpyjames/buck,kageiit/buck,darkforestzero/buck,davido/buck,SeleniumHQ/buck,shs96c/buck,Addepar/buck,grumpyjames/buck,LegNeato/buck,shs96c/buck,ilya-klyuchnikov/buck,k21/buck,SeleniumHQ/buck,SeleniumHQ/buck,SeleniumHQ/buck,shs96c/buck,marcinkwiatkowski/buck,sdwilsh/buck,zhan-xiong/buck,darkforestzero/buck,grumpyjames/buck,vschs007/buck,shybovycha/buck,dsyang/buck,darkforestzero/buck,LegNeato/buck,shybovycha/buck,zpao/buck,shs96c/buck,robbertvanginkel/buck,vschs007/buck,facebook/buck,rmaz/buck,JoelMarcey/buck,zhan-xiong/buck,daedric/buck,romanoid/buck,davido/buck,Addepar/buck,Addepar/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,clonetwin26/buck,SeleniumHQ/buck,vschs007/buck,kageiit/buck,k21/buck,shs96c/buck,robbertvanginkel/buck,Addepar/buck,vschs007/buck,k21/buck,dsyang/buck,SeleniumHQ/buck,shs96c/buck,daedric/buck,daedric/buck,k21/buck,clonetwin26/buck,robbertvanginkel/buck,facebook/buck,ilya-klyuchnikov/buck,darkforestzero/buck,k21/buck,dsyang/buck,brettwooldridge/buck,sdwilsh/buck,dsyang/buck,sdwilsh/buck,shs96c/buck,LegNeato/buck,vschs007/buck,dsyang/buck,zpao/buck,davido/buck,rmaz/buck,SeleniumHQ/buck,robbertvanginkel/buck,darkforestzero/buck,k21/buck,zhan-xiong/buck,sdwilsh/buck,ilya-klyuchnikov/buck,robbertvanginkel/buck,rmaz/buck,SeleniumHQ/buck,davido/buck,facebook/buck,robbertvanginkel/buck,JoelMarcey/buck,shybovycha/buck,shs96c/buck,k21/buck,brettwooldridge/buck,daedric/buck,darkforestzero/buck,Addepar/buck,dsyang/buck,shybovycha/buck,SeleniumHQ/buck,davido/buck,clonetwin26/buck,JoelMarcey/buck,zhan-xiong/buck,zhan-xiong/buck,clonetwin26/buck,davido/buck,shybovycha/buck,darkforestzero/buck,davido/buck,grumpyjames/buck,robbertvanginkel/buck,LegNeato/buck,daedric/buck,ilya-klyuchnikov/buck,daedric/buck,vschs007/buck,shybovycha/buck,grumpyjames/buck,davido/buck,robbertvanginkel/buck,brettwooldridge/buck,brettwooldridge/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,shybovycha/buck,romanoid/buck,marcinkwiatkowski/buck,clonetwin26/buck,clonetwin26/buck,romanoid/buck,zhan-xiong/buck,rmaz/buck,shybovycha/buck,brettwooldridge/buck,ilya-klyuchnikov/buck,romanoid/buck,romanoid/buck,clonetwin26/buck,rmaz/buck,nguyentruongtho/buck,LegNeato/buck,davido/buck,shybovycha/buck,JoelMarcey/buck,romanoid/buck,darkforestzero/buck,kageiit/buck,rmaz/buck,nguyentruongtho/buck,grumpyjames/buck,zpao/buck,vschs007/buck,Addepar/buck,nguyentruongtho/buck,nguyentruongtho/buck,k21/buck,Addepar/buck,daedric/buck,shs96c/buck,ilya-klyuchnikov/buck,sdwilsh/buck,LegNeato/buck,rmaz/buck,robbertvanginkel/buck,clonetwin26/buck,clonetwin26/buck,ilya-klyuchnikov/buck,zpao/buck,zpao/buck,marcinkwiatkowski/buck,shybovycha/buck,Addepar/buck,JoelMarcey/buck,zpao/buck,Addepar/buck,shs96c/buck,rmaz/buck,grumpyjames/buck,Addepar/buck,shs96c/buck,daedric/buck,marcinkwiatkowski/buck,darkforestzero/buck,davido/buck,LegNeato/buck,rmaz/buck,marcinkwiatkowski/buck,vschs007/buck,facebook/buck,k21/buck,k21/buck,vschs007/buck,rmaz/buck,shs96c/buck,vschs007/buck,shybovycha/buck,daedric/buck,JoelMarcey/buck,ilya-klyuchnikov/buck,vschs007/buck,LegNeato/buck,marcinkwiatkowski/buck,ilya-klyuchnikov/buck,dsyang/buck,nguyentruongtho/buck,clonetwin26/buck,brettwooldridge/buck,rmaz/buck,JoelMarcey/buck,brettwooldridge/buck,clonetwin26/buck,dsyang/buck,kageiit/buck,k21/buck,LegNeato/buck,grumpyjames/buck,marcinkwiatkowski/buck,robbertvanginkel/buck,brettwooldridge/buck,sdwilsh/buck,daedric/buck,sdwilsh/buck,davido/buck,JoelMarcey/buck,clonetwin26/buck,sdwilsh/buck,marcinkwiatkowski/buck,ilya-klyuchnikov/buck,nguyentruongtho/buck,brettwooldridge/buck,romanoid/buck,rmaz/buck,brettwooldridge/buck,Addepar/buck,romanoid/buck,Addepar/buck,sdwilsh/buck,vschs007/buck,zhan-xiong/buck,ilya-klyuchnikov/buck,LegNeato/buck,rmaz/buck,shs96c/buck,JoelMarcey/buck,zhan-xiong/buck,marcinkwiatkowski/buck,romanoid/buck,vschs007/buck,dsyang/buck,SeleniumHQ/buck,k21/buck,sdwilsh/buck,romanoid/buck,clonetwin26/buck,grumpyjames/buck,dsyang/buck,JoelMarcey/buck,marcinkwiatkowski/buck,LegNeato/buck,LegNeato/buck,romanoid/buck,brettwooldridge/buck,zhan-xiong/buck,sdwilsh/buck