[webkit-changes] [WebKit/WebKit] 7a1c0a: Remove tracking of content-supplied colors in canvas

Simon Fraser noreply at github.com
Mon Nov 13 20:37:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a1c0aefc3456f3e8e9f0c5597cbb618b8adef56
      https://github.com/WebKit/WebKit/commit/7a1c0aefc3456f3e8e9f0c5597cbb618b8adef56
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.h

  Log Message:
  -----------
  Remove tracking of content-supplied colors in canvas
https://bugs.webkit.org/show_bug.cgi?id=264786
rdar://118367460

Reviewed by Chris Dumez.

Updating m_suppliedColors shows up on profiles, and this is unused, so remove it.

* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::setFillStyle):
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.h:
(WebCore::CanvasRenderingContext2DBase::suppliedColors const): Deleted.

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




More information about the webkit-changes mailing list