From 6f14df039ee97035ea84e9d19b6e6e90618bd956 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Thu, 21 Feb 2019 13:46:41 +0530 Subject: [PATCH] [DevTools] Stop passing base::Value to DevToolsManagerDelegate https://chromium-review.googlesource.com/c/chromium/src/+/1459807 --- atom/browser/ui/devtools_manager_delegate.cc | 4 ++-- atom/browser/ui/devtools_manager_delegate.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/atom/browser/ui/devtools_manager_delegate.cc b/atom/browser/ui/devtools_manager_delegate.cc index 5e827ed72678..95e45cf243b5 100644 --- a/atom/browser/ui/devtools_manager_delegate.cc +++ b/atom/browser/ui/devtools_manager_delegate.cc @@ -97,10 +97,10 @@ void DevToolsManagerDelegate::Inspect(content::DevToolsAgentHost* agent_host) {} void DevToolsManagerDelegate::HandleCommand( content::DevToolsAgentHost* agent_host, content::DevToolsAgentHostClient* client, - std::unique_ptr command, + const std::string& method, const std::string& message, NotHandledCallback callback) { - std::move(callback).Run(std::move(command), message); + std::move(callback).Run(message); } scoped_refptr diff --git a/atom/browser/ui/devtools_manager_delegate.h b/atom/browser/ui/devtools_manager_delegate.h index 6ca32196ec4d..c42e1443c340 100644 --- a/atom/browser/ui/devtools_manager_delegate.h +++ b/atom/browser/ui/devtools_manager_delegate.h @@ -25,7 +25,7 @@ class DevToolsManagerDelegate : public content::DevToolsManagerDelegate { void Inspect(content::DevToolsAgentHost* agent_host) override; void HandleCommand(content::DevToolsAgentHost* agent_host, content::DevToolsAgentHostClient* client, - std::unique_ptr command, + const std::string& method, const std::string& message, NotHandledCallback callback) override; scoped_refptr CreateNewTarget(