Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 534e11ed95f096c59f8745a9caeaa3cc451670a7
https://github.com/WebKit/WebKit/commit/534e11ed95f096c59f8745a9caeaa3cc451670a7
Author: Žan Doberšek <[email protected]>
Date: 2023-02-14 (Tue, 14 Feb 2023)
Changed paths:
M Source/WebKit/Platform/IPC/Encoder.cpp
M Source/WebKit/Platform/IPC/Encoder.h
M Source/WebKit/Platform/IPC/StreamConnectionEncoder.h
M Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp
Log Message:
-----------
[WK2] Clean up fixed-length data encoding in Encoder, StreamConnectionEncoder
https://bugs.webkit.org/show_bug.cgi?id=251671
Reviewed by Kimmo Kinnunen.
Remove the encodeFixedLengthData() methods on the Encoder and
StreamConnectionEncoder classes, moving the logic into the corresponding
encodeSpan() methods.
One remaining encodeFixedLengthData() call-site in IPCTestingAPI is amended.
* Source/WebKit/Platform/IPC/Encoder.cpp:
(IPC::Encoder::encodeFixedLengthData): Deleted.
* Source/WebKit/Platform/IPC/Encoder.h:
(IPC::Encoder::encodeSpan):
* Source/WebKit/Platform/IPC/StreamConnectionEncoder.h:
* Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp:
(WebKit::IPCTestingAPI::encodeTypedArray):
Canonical link: https://commits.webkit.org/260253@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes