[Webkit-unassigned] [Bug 130848] Remove comment from Filter.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 27 12:26:42 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=130848





--- Comment #4 from Simon Fraser (smfr) <simon.fraser at apple.com>  2014-03-27 12:26:59 PST ---
(From update of attachment 227960)
View in context: https://bugs.webkit.org/attachment.cgi?id=227960&action=review

>> Source/WebCore/platform/graphics/filters/Filter.h:50
>> +    virtual float applyVerticalScale(const float& value) const { return value * m_filterResolution.height(); }
> 
> there is no need to make the float a reference, it doesn't save anything.

Nor a const float. The const doesn't add anything.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list