[webkit-changes] [WebKit/WebKit] 1b24cc: [GPU Process] Refactor some logic in StreamConnect...
Wenson Hsieh
noreply at github.com
Fri Oct 7 12:47:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1b24ccb77e41f4104d63974531c467a74aff9721
https://github.com/WebKit/WebKit/commit/1b24ccb77e41f4104d63974531c467a74aff9721
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Changed paths:
M Source/WebKit/Platform/IPC/StreamConnectionBuffer.cpp
M Source/WebKit/Platform/IPC/StreamConnectionBuffer.h
Log Message:
-----------
[GPU Process] Refactor some logic in StreamConnectionBuffer::decode()
https://bugs.webkit.org/show_bug.cgi?id=246219
rdar://84550136
Reviewed by Kimmo Kinnunen.
Refactor some bounds checking around `StreamConnectionBuffer`.
No change in behavior.
* Source/WebKit/Platform/IPC/StreamConnectionBuffer.cpp:
(IPC::StreamConnectionBuffer::StreamConnectionBuffer):
(IPC::StreamConnectionBuffer::decode):
* Source/WebKit/Platform/IPC/StreamConnectionBuffer.h:
(IPC::StreamConnectionBuffer::sharedMemorySizeIsValid):
Canonical link: https://commits.webkit.org/255286@main
More information about the webkit-changes
mailing list