Initialize the Event Names' strings from read only memory
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jul 2012 00:34:48 +0000 (00:34 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jul 2012 00:34:48 +0000 (00:34 +0000)
commit00bf7ae6f8b75e8eca8d8f59366d7489057bb7a7
tree48d06ce35215b0dd61a8b5b9e06d87a8bdb5475c
parent5f3dd6e11a4e39332bed7f47f4f0ba904d52ceb4
Initialize the Event Names' strings from read only memory
https://bugs.webkit.org/show_bug.cgi?id=92435

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-26
Reviewed by Anders Carlsson.

Similarily to r123689, we can initialize the event names' strings from memory without copying the data.
This saves us memory and initialization time.

* dom/EventNames.cpp:
(WebCore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/EventNames.cpp