[webkit-changes] [WebKit/WebKit] 1fb674: RemoteInspectorMessageParser: Checking if vector i...
Rose
noreply at github.com
Wed Apr 19 12:47:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1fb67415dc152397ed426ecc1acc5c7e6fcb663e
https://github.com/WebKit/WebKit/commit/1fb67415dc152397ed426ecc1acc5c7e6fcb663e
Author: Rose <83477269+AtariDreams at users.noreply.github.com>
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
More information about the webkit-changes
mailing list