Index: content/public/browser/devtools_agent_host.h |
diff --git a/content/public/browser/devtools_agent_host.h b/content/public/browser/devtools_agent_host.h |
index dd18a53886b177a6fce02e3e1777d2564c224c3d..cf1fa175a9a4641b9960bc57b2961f50bdba1142 100644 |
--- a/content/public/browser/devtools_agent_host.h |
+++ b/content/public/browser/devtools_agent_host.h |
@@ -30,13 +30,9 @@ class CONTENT_EXPORT DevToolsAgentHost |
static scoped_refptr<DevToolsAgentHost> GetOrCreateFor( |
WebContents* web_contents); |
- // Returns DevToolsAgentHost that can be used for inspecting |rvh|. |
- // New DevToolsAgentHost will be created if it does not exist. |
- static scoped_refptr<DevToolsAgentHost> GetOrCreateFor(RenderViewHost* rvh); |
- |
- // Returns true iff an instance of DevToolsAgentHost for the |rvh| |
+ // Returns true iff an instance of DevToolsAgentHost for the |web_contents| |
// does exist. |
- static bool HasFor(RenderViewHost* rvh); |
+ static bool HasFor(WebContents* web_contents); |
// Returns DevToolsAgentHost that can be used for inspecting shared worker |
// with given worker process host id and routing id. |