[webkit-changes] [WebKit/WebKit] 1df0b1: Use 'rotateRadians' in CanvasRenderingContext2DBas...

Ahmad Saleem noreply at github.com
Mon Nov 20 17:54:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1df0b1914071a4a3f3f4543620ac7d4daf38e6b1
      https://github.com/WebKit/WebKit/commit/1df0b1914071a4a3f3f4543620ac7d4daf38e6b1
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

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

  Log Message:
  -----------
  Use 'rotateRadians' in CanvasRenderingContext2DBase::rotate

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

Reviewed by Chris Dumez and Tim Nguyen.

In 268964 at main, we added helper function 'rotateRadians' to reduce unnecessary operations, this patch is
to extend the usage of this helper in `rotate` function in 'CanvasRenderingContext2DBase.cpp'.

* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(CanvasRenderingContext2DBase::rotate):

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




More information about the webkit-changes mailing list