Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: content/public/browser/devtools_frontend_host.h

Issue 2620153002: Fix front-end host creation upon navigation (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/devtools_frontend_host.h
diff --git a/content/public/browser/devtools_frontend_host.h b/content/public/browser/devtools_frontend_host.h
index c7acf6ae63c4e3187eeccebfc2fa079198984cdb..793e02b02dbab95c03bc4a05f262300a3f70f694 100644
--- a/content/public/browser/devtools_frontend_host.h
+++ b/content/public/browser/devtools_frontend_host.h
@@ -13,7 +13,7 @@
namespace content {
-class RenderFrameHost;
+class WebContents;
// This class dispatches messages between DevTools frontend and Delegate
// which is implemented by the embedder.
@@ -26,7 +26,7 @@ class DevToolsFrontendHost {
// Creates a new DevToolsFrontendHost for RenderFrameHost where DevTools
// frontend is loaded.
CONTENT_EXPORT static DevToolsFrontendHost* Create(
- RenderFrameHost* frontend_main_frame,
+ WebContents* web_contents,
const HandleMessageCallback& handle_message_callback);
CONTENT_EXPORT virtual ~DevToolsFrontendHost() {}

Powered by Google App Engine
This is Rietveld 408576698