[Webkit-unassigned] [Bug 277292] New: Remove unused member of CanvasGradient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 29 16:09:24 PDT 2024


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

            Bug ID: 277292
           Summary: Remove unused member of CanvasGradient
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: sabouhallawa at apple.com

217831 at main added the new member m_canvas which has the type CanvasBase& to CanvasGradient. This member was used to parseColor() in CanvasGradient::addColorStop().
251207 at main replaced m_canvas by a new member m_context which has the type Ref<CanvasRenderingContext>.
263774 at main changed the type of m_context to be WeakPtr<CanvasRenderingContext>
279017 at main removed the use of m_context when calling parseColor(). So CanvasGradient currently does not have any use to m_context.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240729/7ea45c4a/attachment.htm>


More information about the webkit-unassigned mailing list