Fix callback adapter for ready() methods.
Review Request #12080 — Created Feb. 23, 2022 and submitted
The boilerplate that I used for all the callbacks-to-promises
conversions works in almost every case, but the
ready()method is a
bit special because the callback name is
promiseToCallbacksadapter handled this, but the call sites inside
readymethods weren't testing for that callback name, so it
wouldn't work properly when calling in the old style.
Used an extension that called
ready()on a draft review using the
callbacks style instead of promises. Saw that it worked correctly.