Revert shouldInvalidateNodeListCaches() back to template-unrolled version.

Switch Document::shouldInvalidateNodeListCaches() back to the previous
version of unrolling a loop by way of a recursive template expansion.
A mild slowdown was seen in crbug.com/375810 when using the simpler
loop-based version from http://codereview.chromium.org/280123002/

R=haraken@chromium.org
BUG=375810
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174702 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed
tree: 79f10c04e8938682a8a72ede57ece6b98f0f0e77
  1. third_party/