Slightly improve performance of CSSStyleApplyProperty handler lookup.
authormacpherson@chromium.org <macpherson@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Sep 2011 23:24:53 +0000 (23:24 +0000)
committermacpherson@chromium.org <macpherson@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Sep 2011 23:24:53 +0000 (23:24 +0000)
commit45507ea33f973627c54d1f269f8a3f9462ac76ea
tree35b03554b8de39f848babfdfce275fc875a1ffd5
parenta61a56ba413cfb4bb1d5579b642a528282d19107
Slightly improve performance of CSSStyleApplyProperty handler lookup.
https://bugs.webkit.org/show_bug.cgi?id=68868

Reviewed by Eric Seidel.

No new tests as no functionality changed.

* css/CSSStyleApplyProperty.h:
(WebCore::CSSStyleApplyProperty::propertyHandler):
Make propertyHandler() public and remove redirecting functions.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
Perform property handler lookup once and reuse the result.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleApplyProperty.h
Source/WebCore/css/CSSStyleSelector.cpp