Index: content/shell/browser/shell_devtools_manager_delegate.cc |
diff --git a/content/shell/browser/shell_devtools_manager_delegate.cc b/content/shell/browser/shell_devtools_manager_delegate.cc |
index c360d970c4663df851016373be4d7624d2b4aedd..ac8aeaf29f3fde27a73eb0fa3c4e66dce2989853 100644 |
--- a/content/shell/browser/shell_devtools_manager_delegate.cc |
+++ b/content/shell/browser/shell_devtools_manager_delegate.cc |
@@ -229,8 +229,11 @@ ShellDevToolsManagerDelegate::~ShellDevToolsManagerDelegate() { |
base::DictionaryValue* ShellDevToolsManagerDelegate::HandleCommand( |
DevToolsAgentHost* agent_host, |
- base::DictionaryValue* command) { |
- return NULL; |
+ base::DictionaryValue* command_dict) { |
+ std::unique_ptr<base::DictionaryValue> result = |
+ devtools_discovery::DevToolsDiscoveryManager::GetInstance() |
+ ->MaybeHandleNewPageCommand(command_dict); |
+ return result.release(); // Caller takes ownership. |
} |
} // namespace content |