Unify getBinding

R=rafaelw@chromium.org
BUG=

Review URL: https://codereview.appspot.com/12808049