[webkit-changes] [WebKit/WebKit] b66d5e: Change code order in HTMLMetaElement::process()

Ahmad Saleem noreply at github.com
Thu Jan 26 00:35:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b66d5e5ea816cde25864cad0e14941127e725181
      https://github.com/WebKit/WebKit/commit/b66d5e5ea816cde25864cad0e14941127e725181
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M Source/WebCore/html/HTMLMetaElement.cpp

  Log Message:
  -----------
  Change code order in HTMLMetaElement::process()

Change code order in HTMLMetaElement::process()
https://bugs.webkit.org/show_bug.cgi?id=251046

Reviewed by Tim Nguyen.

Merge - https://chromium.googlesource.com/chromium/blink/+/d905ef4a93adf27fc8f72cc333e28acf0e912cf6

This patch is to refactor 'process' function to check 'name' attribute earlier and
avoid any unnecessary comparisons.

* Source/WebCore/html/HTMLMetaElement.cpp:
(HTMLMetaElement::process): Refactoring

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




More information about the webkit-changes mailing list