Changeset 107029 in webkit
- Timestamp:
- Feb 7, 2012 7:26:18 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r107027 r107029 1 2012-02-07 Andreas Kling <awesomekling@apple.com> 2 3 REGRESSION(r106668-r106889): Chromium page cycler tests (Intl2) performance regressions. 4 <http://webkit.org/b/78068> 5 6 Reviewed by Ryosuke Niwa. 7 8 Create CSS_IDENT values for attribute styles in the document's CSSValuePool. 9 This regressed in r106756 and I suspect it'll fix up the cycler regression. 10 11 * dom/StyledElement.cpp: 12 (WebCore::StyledElement::addCSSProperty): 13 1 14 2012-02-07 Noel Gordon <noel.gordon@gmail.com> 2 15 -
trunk/Source/WebCore/dom/StyledElement.cpp
r106863 r107029 30 30 #include "CSSStyleSheet.h" 31 31 #include "CSSValueKeywords.h" 32 #include "CSSValuePool.h" 32 33 #include "Color.h" 33 34 #include "ClassList.h" … … 143 144 } 144 145 145 void StyledElement::addCSSProperty(int id, int value)146 { 147 ensureAttributeStyle()->setProperty( id, value);146 void StyledElement::addCSSProperty(int propertyID, int identifier) 147 { 148 ensureAttributeStyle()->setProperty(CSSProperty(propertyID, document()->cssValuePool()->createIdentifierValue(identifier))); 148 149 } 149 150
Note: See TracChangeset
for help on using the changeset viewer.