[Webkit-unassigned] [Bug 219623] New: [GPU Process] Ensure the backend of ImageBuffer is created before getting its handle
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 7 19:12:15 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219623
Bug ID: 219623
Summary: [GPU Process] Ensure the backend of ImageBuffer is
created before getting its handle
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: dino at apple.com
In r270458 and in RemoteLayerBackingStore::encode(), casting the ImageBuffer and calling the overriding createImageBufferBackendHandle() of the superclass was replaced by casting the backend() and calling its createImageBufferBackendHandle() directly.
This may lead to crash if the backend was not created when createImageBufferBackendHandle() is called. The createImageBufferBackendHandle() of the ImageBuffer superclass calls ensureBackendCreated() before calling its createImageBufferBackendHandle().
So we need to replace to call ImageBuffer::backend() to ImageBuffer::ensureBackendCreated().
--
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/20201208/544d472f/attachment-0001.htm>
More information about the webkit-unassigned
mailing list