File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -234,12 +234,15 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel {
234
234
explicit ChannelImpl(AgentImpl* agent): agent_(agent) {}
235
235
virtual ~ChannelImpl() {}
236
236
private:
237
- void sendProtocolResponse(int callId, const StringView& message) override {
238
- sendMessageToFrontend(message);
237
+ void sendResponse(
238
+ int callId,
239
+ std::unique_ptr<v8_inspector::StringBuffer> message) override {
240
+ sendMessageToFrontend(message->string());
239
241
}
240
242
241
- void sendProtocolNotification(const StringView& message) override {
242
- sendMessageToFrontend(message);
243
+ void sendNotification(
244
+ std::unique_ptr<v8_inspector::StringBuffer> message) override {
245
+ sendMessageToFrontend(message->string());
243
246
}
244
247
245
248
void flushProtocolNotifications() override { }
You can’t perform that action at this time.
0 commit comments