deleteFromInputWithFlags is used instead
Pull request: https://github.com/WebKit/WebKit/pull/10580
<rdar://problem/106142720>