[webkit-changes] [WebKit/WebKit] 56bcdb: Drop redundant check in `skipOptionalSVGSpacesOrDe...

Ahmad Saleem noreply at github.com
Wed Oct 18 11:18:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56bcdb9d373033e3326d00b30c0f679dffb06a5f
      https://github.com/WebKit/WebKit/commit/56bcdb9d373033e3326d00b30c0f679dffb06a5f
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

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

  Log Message:
  -----------
  Drop redundant check in `skipOptionalSVGSpacesOrDelimiter`

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

Reviewed by Simon Fraser.

Merge: https://chromium-review.googlesource.com/c/chromium/src/+/2642784

skipOptionalSVGSpaces() returns true if this condition (m_position < m_end) is
true, so we don't need to check it again.

* Source/WebCore/svg/SVGParserUtilities.h:
(skipOptionalSVGSpacesOrDelimiter):

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




More information about the webkit-changes mailing list