Bug 277292
| Summary: | Remove unused member of CanvasGradient | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
| Component: | Canvas | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Said Abou-Hallawa
217831@main added the new member m_canvas which has the type CanvasBase& to CanvasGradient. This member was used to parseColor() in CanvasGradient::addColorStop().
251207@main replaced m_canvas by a new member m_context which has the type Ref<CanvasRenderingContext>.
263774@main changed the type of m_context to be WeakPtr<CanvasRenderingContext>
279017@main removed the use of m_context when calling parseColor(). So CanvasGradient currently does not have any use to m_context.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/132761528>
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/31419
EWS
Committed 281575@main (b8296c22c6a6): <https://commits.webkit.org/281575@main>
Reviewed commits have been landed. Closing PR #31419 and removing active labels.