[Webkit-unassigned] [Bug 202062] New: [FTW] Resolve crashes found while running canvas tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 20 16:49:52 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202062

            Bug ID: 202062
           Summary: [FTW] Resolve crashes found while running canvas tests
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The canvas Layout tests revealed roughly 24 crashes.

This patch corrects a number of problems:

1. BitmapImage cannot create ID2D1Bitmaps without a render target. However, some code paths allowed a nullptr target to be used.
2. Direct2D will not allow you to draw an ID2D1Bitmap to itself. We need to create a copy.
3. Consolidate the empty 'State' class in PlatformContextDirect2D with the separate stack of rendering state. This was cruft left over from before the PlatformContextDirect2D code was in place. This simplifies a lot of the code, and avoids some cases where the stacks were not in sync.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190920/dbf40fe5/attachment.html>


More information about the webkit-unassigned mailing list