Index: test/inspector/inspector-impl.cc |
diff --git a/test/inspector/inspector-impl.cc b/test/inspector/inspector-impl.cc |
index 87b3c7b4a1fa21f8344a83ab64fa93f93877f79d..f1d62afbad074b2983bbef2b6722f09e4faf88d5 100644 |
--- a/test/inspector/inspector-impl.cc |
+++ b/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 {} |