Title: [290675] trunk/Source/WebCore
Revision
290675
Author
pvol...@apple.com
Date
2022-03-01 14:06:34 -0800 (Tue, 01 Mar 2022)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (290674 => 290675)


--- trunk/Source/WebCore/ChangeLog	2022-03-01 21:57:06 UTC (rev 290674)
+++ trunk/Source/WebCore/ChangeLog	2022-03-01 22:06:34 UTC (rev 290675)
@@ -1,3 +1,16 @@
+2022-03-01  Per Arne Vollan  <pvol...@apple.com>
+
+        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):
+
 2022-03-01  Matt Woodrow  <mattwood...@apple.com>
 
         Use static position relative to parent for abs-pos items within nested grids.

Modified: trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm (290674 => 290675)


--- trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm	2022-03-01 21:57:06 UTC (rev 290674)
+++ trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm	2022-03-01 22:06:34 UTC (rev 290675)
@@ -293,7 +293,7 @@
         // This likely means that the sandbox is blocking access to the IOSurface IOKit class,
         // and that IOSurface::bytesPerRowAlignment() has been called before IOSurface::setBytesPerRowAlignment.
         if (alignment <= 1) {
-            RELEASE_LOG_FAULT(Layers, "Sandbox does not allow IOSurface IOKit access.");
+            RELEASE_LOG_ERROR(Layers, "Sandbox does not allow IOSurface IOKit access.");
             // 64 bytes is currently the alignment on all platforms.
             alignment = 64;
         }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to