diff options
Diffstat (limited to 'src/inspector_agent.cc')
-rw-r--r-- | src/inspector_agent.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/inspector_agent.cc b/src/inspector_agent.cc index 7cd7f4e5c94..8ef95305a6f 100644 --- a/src/inspector_agent.cc +++ b/src/inspector_agent.cc @@ -240,18 +240,15 @@ class ChannelImpl final : public blink::protocol::FrontendChannel { explicit ChannelImpl(AgentImpl* agent): agent_(agent) {} virtual ~ChannelImpl() {} private: - virtual void sendProtocolResponse(int callId, - const String16& message) - override { + void sendProtocolResponse(int callId, const String16& message) override { sendMessageToFrontend(message); } - virtual void sendProtocolNotification( - const String16& message) override { + void sendProtocolNotification(const String16& message) override { sendMessageToFrontend(message); } - virtual void flushProtocolNotifications() override { } + void flushProtocolNotifications() override { } void sendMessageToFrontend(const String16& message) { agent_->Write(message.utf8()); |