Fix: ScriptProfiler::visitNodeWrappers shouldn't try to check for wrappers in a specific world.
Fix: ScriptProfiler::visitNodeWrappers shouldn't try to check for wrappers in a specific world.

The code iterates through all persistent handles of a particular class - not
restricted by isolate or world - and then asserts there are wrappers for them in
a particular world. This is wrong.

In addition, this function can be called without a context, and trying to get a
worldType from an isolate fails in that case.

The original ASSERT was added in https://bugs.webkit.org/show_bug.cgi?id=111724
 and it was an error to use HasInstance and not HasInstanceInAnyWorld here.

BUG=

Review URL: https://chromiumcodereview.appspot.com/19154005

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

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