Use stack-allocated BitArray in StylePropertySet serialization.
authorkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 05:11:02 +0000 (05:11 +0000)
committerkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 05:11:02 +0000 (05:11 +0000)
commit7c0e3eaefd1d96f319f6507e9f2b84b86ee4598f
treea7b2ed8ea646fd040111934a710b29f3a5b7b8e3
parent4c407b91bd3f7b1cb145e978b47ad284608f0e90
Use stack-allocated BitArray in StylePropertySet serialization.
<http://webkit.org/b/87071>

Reviewed by Anders Carlsson.

Use BitArray instead of BitVector to track seen properties in StylePropertySet::asText().
This removes two heap allocations from this path.

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

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