[webkit-changes] [WebKit/WebKit] 028c2c: [cairo] ASSERTION FAILED: destSize > 0 in WebCore:...

Fujii Hironori noreply at github.com
Tue Sep 17 13:52:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 028c2cf49867bcc7bf0d319f8c5044bd6c50360b
      https://github.com/WebKit/WebKit/commit/028c2cf49867bcc7bf0d319f8c5044bd6c50360b
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M LayoutTests/platform/win/TestExpectations
    M Source/WebCore/platform/graphics/cairo/CairoOperations.cpp

  Log Message:
  -----------
  [cairo] ASSERTION FAILED: destSize > 0 in WebCore::Cairo::calculateSubsurfaceRect
https://bugs.webkit.org/show_bug.cgi?id=279649

Reviewed by Don Olmstead.

WebCore::Cairo::calculateSubsurfaceRect wrongly assumed destSize and
srcSize were always positive. Some canvas tests caused an assertion
failure in it. They can be negative.

* LayoutTests/platform/win/TestExpectations:
* Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:
(WebCore::Cairo::calculateSubsurfaceRect):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list