Commit 33d6e656 authored by Johannes Henkel's avatar Johannes Henkel Committed by Commit Bot

Remove unused method parseProtocolMessage in string-util.h.

Change-Id: I05d69c8971352276c2d399f458f8f7ae6c2689c2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1639575
Auto-Submit: Johannes Henkel <johannes@chromium.org>
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Commit-Queue: Alexei Filippov <alph@chromium.org>
Reviewed-by: 's avatarAlexei Filippov <alph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61974}
parent 4d5dd3db
......@@ -125,12 +125,6 @@ std::unique_ptr<protocol::Value> StringUtil::parseJSON(const String16& string) {
static_cast<int>(string.length()));
}
// static
std::unique_ptr<protocol::Value> StringUtil::parseProtocolMessage(
const ProtocolMessage& message) {
return parseJSON(message.json);
}
// static
ProtocolMessage StringUtil::jsonToMessage(String message) {
ProtocolMessage result;
......
......@@ -63,8 +63,6 @@ class StringUtil {
}
static std::unique_ptr<protocol::Value> parseJSON(const String16& json);
static std::unique_ptr<protocol::Value> parseJSON(const StringView& json);
static std::unique_ptr<protocol::Value> parseProtocolMessage(
const ProtocolMessage&);
static ProtocolMessage jsonToMessage(String message);
static ProtocolMessage binaryToMessage(std::vector<uint8_t> message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment