Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1fb67415dc152397ed426ecc1acc5c7e6fcb663e
https://github.com/WebKit/WebKit/commit/1fb67415dc152397ed426ecc1acc5c7e6fcb663e
Author: Rose <[email protected]>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M
Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorMessageParser.cpp
Log Message:
-----------
RemoteInspectorMessageParser: Checking if vector is empty is redundant
https://bugs.webkit.org/show_bug.cgi?id=255532
Reviewed by Fujii Hironori.
Because we only operate on it if the size of the array is more than a
uint32_t, checking if it is empty is redundant.
*
Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorMessageParser.cpp:
(Inspector::MessageParser::parse):
Canonical link: https://commits.webkit.org/263141@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes