commit | bbd49ad1a5a9d48eda803b3d77ea765ca7748cff | [log] [tgz] |
---|---|---|
author | hayato <hayato@chromium.org> | Tue Apr 25 01:44:04 2017 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 25 01:44:04 2017 |
tree | d36b538e3452efbd46323d4575be397a2f3f6320 | |
parent | eab8c8024b7a08d29ce49a1d151c62855ab57e21 [diff] |
Avoid firing load events on style elements if there is no listeners for that This could save 10-20ms in the case (with ShadowRoot) of the bug 699838. See bug 713562 for details. We can do the similar technique for load events on img elements. That can be done as another CL. BUG=367276 Review-Url: https://codereview.chromium.org/2833733002 Cr-Commit-Position: refs/heads/master@{#466863}