Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7146ca389a8d78f0e1fcab6801dd06ee38273d1
      
https://github.com/WebKit/WebKit/commit/d7146ca389a8d78f0e1fcab6801dd06ee38273d1
  Author: Karl Dubost <[email protected]>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M Source/WebCore/svg/SVGFEDisplacementMapElement.h

  Log Message:
  -----------
  Remove unused SVGFEDisplacementMapElement::stringToChannel()
https://bugs.webkit.org/show_bug.cgi?id=324303
<rdar://problem/187532891>

Reviewed by Brent Fulgham.

feDisplacementMap picks which color channel of one input moves the
pixels of the other. The attributes xChannelSelector and
yChannelSelector carry that choice as the text R, G, B or A, and
something has to turn that text into a value the code can use.

stringToChannel() used to be that something.
1. 10812@main added it in 2006.
2. 76410@main removed the body and both call sites in 2011 and gave
the job to SVGPropertyTraits<ChannelSelectorType>::fromString(), which
is a few lines higher in the same header.

Only the declaration was left behind.
So the class has been promising a function which does not exist for
fifteen years.

No behavior change, so no new test.

* Source/WebCore/svg/SVGFEDisplacementMapElement.h:

Canonical link: https://commits.webkit.org/321230@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to