commit | 50af83044538f42719c56d752096c290b99ec525 | [log] [tgz] |
---|---|---|
author | bratell@opera.com <bratell@opera.com> | Mon Sep 29 09:36:16 2014 |
committer | bratell@opera.com <bratell@opera.com> | Mon Sep 29 09:36:16 2014 |
tree | db14673854be02991b541d13240915f21460dcb4 | |
parent | 25a474aa8835c592f6a3723db78bc27f8f9972c1 [diff] |
More efficient code for mapping event names and attribute names. This changes repeated code to a loop and cuts HTMLElement::eventNameForAttributeName from 9 KB to 3 KB. clang, x64: Total change: -5952 bytes ========================= 1 shrunk, for a net change of -5952 bytes (9338 bytes before, 3386 bytes after) across 1 sources BUG= Review URL: https://codereview.chromium.org/594413003 git-svn-id: svn://svn.chromium.org/blink/trunk@182820 bbb929c8-8fbe-4397-9dbb-9b2b20218538