Move BindingSecurity stuff under JSDOMBinding umbrella.
<https://webkit.org/b/124099> We are hitting shouldAllowAccessToDOMWindow() pretty hard on the demo here: <http://www.jasondavies.com/maps/rotate/> Putting it together with the rest of the JSDOMBinding code takes CPU time spent in there from 8.7% to 6.5%. The abstraction was only used to support alternate JS engines in the past. Reviewed by Antti Koivisto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 59 additions and 172 deletions