Two small refinements to matched properties cache.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Dec 2013 13:59:11 +0000 (13:59 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Dec 2013 13:59:11 +0000 (13:59 +0000)
commit599efa43a088dd30b514d66de4d054b851a463db
tree85d94d4f20c1bf935bf19ef383943dfd3bd394b3
parent874ad8796744fe5564d89a0b5f683b6bbfc00585
Two small refinements to matched properties cache.
<https://webkit.org/b/125992>

- Avoid computing the matched properties hash if we're banned from
  using the cache anyway.

- When adding a new entry to the cache, use move semantics to avoid
  creating a transient copy of all the data.

Reviewed by Antti Koivisto.

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