[DevTools] Make Inspect Element work for OOPIF
https://chromium-review.googlesource.com/c/chromium/src/+/881522
This commit is contained in:
parent
8e125b2953
commit
3666935c06
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ content::WebContents* InspectableWebContentsImpl::GetDevToolsWebContents()
|
||||||
|
|
||||||
void InspectableWebContentsImpl::InspectElement(int x, int y) {
|
void InspectableWebContentsImpl::InspectElement(int x, int y) {
|
||||||
if (agent_host_.get())
|
if (agent_host_.get())
|
||||||
agent_host_->InspectElement(this, x, y);
|
agent_host_->InspectElement(web_contents_->GetMainFrame(), x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
void InspectableWebContentsImpl::SetDelegate(
|
void InspectableWebContentsImpl::SetDelegate(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue