StylePropertySet: Try to find a CSSValuePool for identifier values.
authorkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 11:01:30 +0000 (11:01 +0000)
committerkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 11:01:30 +0000 (11:01 +0000)
commit512e43965f3c85a210634c39adbabda26e7d72c0
tree479c790b9237f0a365c5411a5dcd7940f95beb3f
parent1235c0e79bd1d2b1379ddc4dc6f00961f924adc0
StylePropertySet: Try to find a CSSValuePool for identifier values.
<http://webkit.org/b/78590>

Reviewed by Antti Koivisto.

For StylePropertySets with a parent element (inline and attribute style),
grab at the parentElement()->document() to locate a CSSValuePool.
This code will change soon in the CSSOM refactoring and moreso once we
figure out how to have a global CSSValuePool, but I'm hoping it will buy
us some perf back in the meantime.

* css/StylePropertySet.cpp:
(WebCore::StylePropertySet::setProperty):

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