Commit f789322e authored by kling@webkit.org's avatar kling@webkit.org

REGRESSION(r106668-r106889): Chromium page cycler tests (Intl2) performance regressions.

<http://webkit.org/b/78068>

Reviewed by Ryosuke Niwa.

Create CSS_IDENT values for attribute styles in the document's CSSValuePool.
This regressed in r106756 and I suspect it'll fix up the cycler regression.

* dom/StyledElement.cpp:
(WebCore::StyledElement::addCSSProperty):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dc0c6308
2012-02-07 Andreas Kling <awesomekling@apple.com>
REGRESSION(r106668-r106889): Chromium page cycler tests (Intl2) performance regressions.
<http://webkit.org/b/78068>
Reviewed by Ryosuke Niwa.
Create CSS_IDENT values for attribute styles in the document's CSSValuePool.
This regressed in r106756 and I suspect it'll fix up the cycler regression.
* dom/StyledElement.cpp:
(WebCore::StyledElement::addCSSProperty):
2012-02-07 Noel Gordon <noel.gordon@gmail.com>
Remove TextureMapperQt from the gyp projects
......@@ -29,6 +29,7 @@
#include "CSSStyleSelector.h"
#include "CSSStyleSheet.h"
#include "CSSValueKeywords.h"
#include "CSSValuePool.h"
#include "Color.h"
#include "ClassList.h"
#include "ContentSecurityPolicy.h"
......@@ -142,9 +143,9 @@ void StyledElement::addCSSProperty(int id, const String &value)
removeCSSProperty(id);
}
void StyledElement::addCSSProperty(int id, int value)
void StyledElement::addCSSProperty(int propertyID, int identifier)
{
ensureAttributeStyle()->setProperty(id, value);
ensureAttributeStyle()->setProperty(CSSProperty(propertyID, document()->cssValuePool()->createIdentifierValue(identifier)));
}
void StyledElement::addCSSImageProperty(int id, const String& url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment