commit | 3cc0aa3593626f37fb44e99174f1fa3730e1f14c | [log] [tgz] |
---|---|---|
author | hayato <hayato@chromium.org> | Fri Feb 19 17:40:30 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 19 17:42:43 2016 |
tree | bfe1fc0720a7ca220f66217f776119bdab4e1f26 | |
parent | 7d424293902e60b1cc15f01ebdfb9e647c92e7b4 [diff] |
Make a microtask of distribution recalc happen only when ShadowDOMV1 flag is enabled. This is a follow-up patch of r376090. We do not need to enqueue a microtask if v1 is disabled. Thus, having POC of 'slotchange' event for v1 will be zero performance impact for v0 world. BUG=531990 Review URL: https://codereview.chromium.org/1715623002 Cr-Commit-Position: refs/heads/master@{#376480}