Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a740a0c0803f125f2fef95636eca69dc953108b5
      
https://github.com/WebKit/WebKit/commit/a740a0c0803f125f2fef95636eca69dc953108b5
  Author: Chris Dumez <[email protected]>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp

  Log Message:
  -----------
  Simplify HTMLFastPathParser::scanEscapedAttributeValue()
https://bugs.webkit.org/show_bug.cgi?id=254929

Reviewed by Ryosuke Niwa.

Simplify HTMLFastPathParser::scanEscapedAttributeValue():
- Do an early return to avoid nesting
- Drop `result` & `start` variables as they were initialized but never used
- Merge 2 if conditions now that they're one after the other

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanEscapedAttributeValue):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to