Minimize performance regression caused by r157508
Minimize performance regression caused by r157508

Minimize performance regression caused by r157508:
- Cache the value returned by Element::attributeItem() as it hides
  an if branch in ElementData::attributeBase().
- Minimize the cost of calling attrIfExists() which does a
  linear search by using iterators (thus avoiding the release
  assertion in Vector::at())

I get a 3.1% improvement locally on Bindings/id-setter.html 
performance test.

R=haraken
BUG=293663

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161383

Review URL: https://codereview.chromium.org/60143002

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@161419 bbb929c8-8fbe-4397-9dbb-9b2b20218538

ondra-novak/blink,nwjs/blink,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,kurli/blink-crosswalk,nwjs/blink,ondra-novak/blink,kurli/blink-crosswalk,smishenk/blink-crosswalk,nwjs/blink,hgl888/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,ondra-novak/blink,jtg-gg/blink,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,nwjs/blink,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,Bysmyyr/blink-crosswalk,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,modulexcite/blink,modulexcite/blink,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,kurli/blink-crosswalk,ondra-novak/blink,ondra-novak/blink,crosswalk-project/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,jtg-gg/blink,smishenk/blink-crosswalk,Bysmyyr/blink-crosswalk,jtg-gg/blink,modulexcite/blink,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,jtg-gg/blink,nwjs/blink,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,jtg-gg/blink,Pluto-tv/blink-crosswalk,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,nwjs/blink,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,XiaosongWei/blink-crosswalk,jtg-gg/blink,nwjs/blink,Pluto-tv/blink-crosswalk,Bysmyyr/blink-crosswalk,nwjs/blink,modulexcite/blink,hgl888/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,nwjs/blink,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,modulexcite/blink,jtg-gg/blink,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,Bysmyyr/blink-crosswalk,jtg-gg/blink,nwjs/blink,jtg-gg/blink,Pluto-tv/blink-crosswalk,ondra-novak/blink,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,modulexcite/blink,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,ondra-novak/blink,Bysmyyr/blink-crosswalk,kurli/blink-crosswalk,modulexcite/blink,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl