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

Unified Diff: content/browser/debugger/devtools_frontend_host.cc

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 12 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/browser/debugger/devtools_frontend_host.cc
===================================================================
--- content/browser/debugger/devtools_frontend_host.cc (revision 116331)
+++ content/browser/debugger/devtools_frontend_host.cc (working copy)
@@ -15,9 +15,10 @@
// static
DevToolsClientHost* DevToolsClientHost::CreateDevToolsFrontendHost(
- TabContents* client_tab_contents,
+ WebContents* client_web_contents,
DevToolsFrontendHostDelegate* delegate) {
- return new DevToolsFrontendHost(client_tab_contents, delegate);
+ return new DevToolsFrontendHost(
+ static_cast<TabContents*>(client_web_contents), delegate);
}
// static
@@ -54,7 +55,7 @@
delegate_->FrameNavigating(url);
}
-void DevToolsFrontendHost::TabReplaced(TabContents* new_tab) {
+void DevToolsFrontendHost::TabReplaced(WebContents* new_tab) {
delegate_->TabReplaced(new_tab);
}
« no previous file with comments | « content/browser/debugger/devtools_frontend_host.h ('k') | content/browser/debugger/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698