CSSMutableStyleDeclaration: Unnecessary double hash lookup in construction.
authorkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Dec 2011 20:04:25 +0000 (20:04 +0000)
committerkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Dec 2011 20:04:25 +0000 (20:04 +0000)
commit761d533509945144c44c6d774ad9fd6a942bf386
tree5db03cc44aa5f61af23211ddca875616e7b0112d
parent63191c67bf52ee17f86ba43f18df347d5eb428a7
CSSMutableStyleDeclaration: Unnecessary double hash lookup in construction.
<http://webkit.org/b/73564>

Reviewed by Antti Koivisto.

Use HashMap::find() instead of contains() followed by get() on
successful lookup.

* css/CSSMutableStyleDeclaration.cpp:
(WebCore::CSSMutableStyleDeclaration::CSSMutableStyleDeclaration):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@101697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/CSSMutableStyleDeclaration.cpp