Pass PropertyHandler by reference in CSSStyleApplyProperty.h.
authormacpherson@chromium.org <macpherson@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Apr 2012 19:36:14 +0000 (19:36 +0000)
committermacpherson@chromium.org <macpherson@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Apr 2012 19:36:14 +0000 (19:36 +0000)
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

Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleApplyProperty.h

index 4c1b4c5..41f594c 100644 (file)
@@ -1,5 +1,17 @@
 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
 
index 2e83d0f..3355d25 100644 (file)
@@ -78,7 +78,7 @@ private:
         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());