[Webkit-unassigned] [Bug 153214] New: SVG tear offs should return a const reference if possible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 18 16:43:40 PST 2016


            Bug ID: 153214
           Summary: SVG tear offs should return a const reference if
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nikos.andronikos-webkit at cisra.canon.com.au
                CC: zimmermann at kde.org

The getters SVGAnimatedStaticPropertyTearOff::baseVal() and SVGAnimatedStaticPropertyTearOff::animVal() return a reference to an SVG property object.


template<typename PropertyType>
class SVGAnimatedStaticPropertyTearOff : public SVGAnimatedProperty {
   virtual PropertyType& baseVal()
        return m_property;

It would be preferable for the returned reference to PropertypType to be const.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160119/a96e6176/attachment.html>

More information about the webkit-unassigned mailing list