[webkit-changes] [WebKit/WebKit] 5e7400: Avoid copying range and consuming tokens from this...

Chris Dumez noreply at github.com
Wed Sep 6 19:32:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e7400cc3d50fe4b4657242113ef03de1868bec3
      https://github.com/WebKit/WebKit/commit/5e7400cc3d50fe4b4657242113ef03de1868bec3
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M Source/WebCore/css/CSSVariableData.cpp

  Log Message:
  -----------
  Avoid copying range and consuming tokens from this copied range in CSSVariableData()
https://bugs.webkit.org/show_bug.cgi?id=261239

Reviewed by Simon Fraser.

Avoid copying range and consuming tokens from this copied range in CSSVariableData().
We can simply iterate over the provided range, no need to copy or consume.

* Source/WebCore/css/CSSVariableData.cpp:
(WebCore::CSSVariableData::CSSVariableData):

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




More information about the webkit-changes mailing list