| Index: content/browser/devtools/protocol/security_handler.cc
|
| diff --git a/content/browser/devtools/protocol/security_handler.cc b/content/browser/devtools/protocol/security_handler.cc
|
| index f83bed5975d4a9b29025877962c53c63fee0f122..ba2d2e1b4d0fc5bab5e2bc8268dd81c9debbfdf6 100644
|
| --- a/content/browser/devtools/protocol/security_handler.cc
|
| +++ b/content/browser/devtools/protocol/security_handler.cc
|
| @@ -58,12 +58,10 @@ void AddExplanations(
|
| } // namespace
|
|
|
| // static
|
| -SecurityHandler* SecurityHandler::FromAgentHost(DevToolsAgentHostImpl* host) {
|
| - DevToolsSession* session = DevToolsDomainHandler::GetFirstSession(host);
|
| - if (!session)
|
| - return nullptr;
|
| - return static_cast<SecurityHandler*>(
|
| - session->GetHandlerByName(Security::Metainfo::domainName));
|
| +std::vector<SecurityHandler*> SecurityHandler::ForAgentHost(
|
| + DevToolsAgentHostImpl* host) {
|
| + return DevToolsSession::HandlersForAgentHost<SecurityHandler>(
|
| + host, Security::Metainfo::domainName);
|
| }
|
|
|
| SecurityHandler::SecurityHandler()
|
|
|