[webkit-changes] [WebKit/WebKit] fa4ef1: Only call CGImage restricting APIs once per process

Alex Christensen noreply at github.com
Fri Aug 4 15:42:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fa4ef1f8175e0bf0267b783a96c2b8c96ad82a4e
      https://github.com/WebKit/WebKit/commit/fa4ef1f8175e0bf0267b783a96c2b8c96ad82a4e
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Only call CGImage restricting APIs once per process
https://bugs.webkit.org/show_bug.cgi?id=259840
<rdar://problem/113416279>

Reviewed by Simon Fraser.

This should fix a common assertion.

* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::m_appHighlightsVisible):
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):

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




More information about the webkit-changes mailing list