diff options
Diffstat (limited to 'deps/v8/test/inspector/inspector-impl.cc')
-rw-r--r-- | deps/v8/test/inspector/inspector-impl.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/deps/v8/test/inspector/inspector-impl.cc b/deps/v8/test/inspector/inspector-impl.cc index 87b3c7b4a1..f1d62afbad 100644 --- a/deps/v8/test/inspector/inspector-impl.cc +++ b/deps/v8/test/inspector/inspector-impl.cc @@ -19,13 +19,14 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel { virtual ~ChannelImpl() = default; private: - void sendProtocolResponse(int callId, - const v8_inspector::StringView& message) override { - frontend_channel_->SendMessageToFrontend(message); + void sendResponse( + int callId, + std::unique_ptr<v8_inspector::StringBuffer> message) override { + frontend_channel_->SendMessageToFrontend(message->string()); } - void sendProtocolNotification( - const v8_inspector::StringView& message) override { - frontend_channel_->SendMessageToFrontend(message); + void sendNotification( + std::unique_ptr<v8_inspector::StringBuffer> message) override { + frontend_channel_->SendMessageToFrontend(message->string()); } void flushProtocolNotifications() override {} |