Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d8cf5f510a9f9d8a08b62d53491a94d9e6cd1b2
      
https://github.com/WebKit/WebKit/commit/8d8cf5f510a9f9d8a08b62d53491a94d9e6cd1b2
  Author: Fujii Hironori <[email protected]>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M Source/WebKit/Shared/WebHitTestResultData.cpp

  Log Message:
  -----------
  REGRESSION(257087@main): WebHitTestResultData ctor should check the argument 
`imageHandle` is nullopt
https://bugs.webkit.org/show_bug.cgi?id=248512

Reviewed by Carlos Garcia Campos.

After 257087@main added a new serializer for WebHitTestResultData,
WinCairo WK2 Release and Debug layout tests were crashing.

* Source/WebKit/Shared/WebHitTestResultData.cpp:
(WebKit::WebHitTestResultData::WebHitTestResultData):
Check the argument `imageHandle` isn't nullopt before dereferencing.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to