StyleResolverParentPusher can decide if it needs to push at creation time
StyleResolverParentPusher can decide if it needs to push at creation time

We can decide at creation time if the ParentPusher needs to push a parent
style to the bloom filter instead of having a push() method call inside
of each of the loops during recalcStyle.

I also removed the ASSERT and if statement (with the same check) from inside
the ParentPusher. There's no reason to guard against getting the parent stack
wrong, the stack itself already has guards against it and getting it wrong is
not a security issue (so there's no reason for an ASSERT and duplicate if).

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

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

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