Changeset 290675 in webkit


Ignore:
Timestamp:
Mar 1, 2022 2:06:34 PM (2 years ago)
Author:
pvollan@apple.com
Message:

Remove release assert when UI process is blocking IOSurface IOKit access
https://bugs.webkit.org/show_bug.cgi?id=237278
<rdar://problem/89585043>

Unreviewed, address review comments.

Log error instead of creating CrashTracer reports.

  • platform/graphics/cocoa/IOSurface.mm:

(WebCore::IOSurface::bytesPerRowAlignment):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r290674 r290675  
     12022-03-01  Per Arne Vollan  <pvollan@apple.com>
     2
     3        Remove release assert when UI process is blocking IOSurface IOKit access
     4        https://bugs.webkit.org/show_bug.cgi?id=237278
     5        <rdar://problem/89585043>
     6
     7        Unreviewed, address review comments.
     8
     9        Log error instead of creating CrashTracer reports.
     10
     11        * platform/graphics/cocoa/IOSurface.mm:
     12        (WebCore::IOSurface::bytesPerRowAlignment):
     13
    1142022-03-01  Matt Woodrow  <mattwoodrow@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm

    r290642 r290675  
    294294        // and that IOSurface::bytesPerRowAlignment() has been called before IOSurface::setBytesPerRowAlignment.
    295295        if (alignment <= 1) {
    296             RELEASE_LOG_FAULT(Layers, "Sandbox does not allow IOSurface IOKit access.");
     296            RELEASE_LOG_ERROR(Layers, "Sandbox does not allow IOSurface IOKit access.");
    297297            // 64 bytes is currently the alignment on all platforms.
    298298            alignment = 64;
Note: See TracChangeset for help on using the changeset viewer.