https://bugs.webkit.org/show_bug.cgi?id=83551
Reviewed by Kentaro Hara.
No new tests / cleanup only.
* css/CSSStyleApplyProperty.h:
(WebCore::CSSStyleApplyProperty::setPropertyHandler):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113753
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2012-04-10 Luke Macpherson <macpherson@chromium.org>
+ Pass PropertyHandler by reference in CSSStyleApplyProperty.h.
+ https://bugs.webkit.org/show_bug.cgi?id=83551
+
+ Reviewed by Kentaro Hara.
+
+ No new tests / cleanup only.
+
+ * css/CSSStyleApplyProperty.h:
+ (WebCore::CSSStyleApplyProperty::setPropertyHandler):
+
+2012-04-10 Luke Macpherson <macpherson@chromium.org>
+
Pass FontDescription as const reference instead of by value in CSSStyleSelector.h.
https://bugs.webkit.org/show_bug.cgi?id=83548
return i >= 0 && i < numCSSProperties;
}
- void setPropertyHandler(CSSPropertyID property, PropertyHandler handler)
+ void setPropertyHandler(CSSPropertyID property, const PropertyHandler& handler)
{
ASSERT(valid(property));
ASSERT(!propertyHandler(property).isValid());