| Index: chrome/browser/devtools/devtools_ui_bindings.cc
|
| diff --git a/chrome/browser/devtools/devtools_ui_bindings.cc b/chrome/browser/devtools/devtools_ui_bindings.cc
|
| index 2ad277b1bba56668abe85e7d22f5767ef4667a3c..8fff9900c07e688cf73b24188857258a91b7d116 100644
|
| --- a/chrome/browser/devtools/devtools_ui_bindings.cc
|
| +++ b/chrome/browser/devtools/devtools_ui_bindings.cc
|
| @@ -762,13 +762,13 @@ void DevToolsUIBindings::PerformActionOnRemotePage(const std::string& page_id,
|
| if (!target)
|
| return;
|
| if (action == kRemotePageActionInspect)
|
| - target->Inspect(profile_);
|
| + target->GetAgentHost()->Inspect();
|
| if (action == kRemotePageActionReload)
|
| - target->Reload();
|
| + target->GetAgentHost()->Reload();
|
| if (action == kRemotePageActionActivate)
|
| - target->Activate();
|
| + target->GetAgentHost()->Activate();
|
| if (action == kRemotePageActionClose)
|
| - target->Close();
|
| + target->GetAgentHost()->Close();
|
| }
|
|
|
| void DevToolsUIBindings::OpenRemotePage(const std::string& browser_id,
|
|
|