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

Unified Diff: chrome/browser/debugger/devtools_window.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 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: chrome/browser/debugger/devtools_window.cc
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc
index 0569a9c5915f704503a4710bf9273ec7542d1c2b..d78ac5522f993e41bc145da66bcb3f16c17ae0c0 100644
--- a/chrome/browser/debugger/devtools_window.cc
+++ b/chrome/browser/debugger/devtools_window.cc
@@ -222,7 +222,7 @@ DevToolsWindow::DevToolsWindow(TabContentsWrapper* tab_contents,
ThemeServiceFactory::GetForProfile(profile_)));
// There is no inspected_rvh in case of shared workers.
if (inspected_rvh) {
- WebContents* tab = inspected_rvh->delegate()->GetAsWebContents();
+ WebContents* tab = inspected_rvh->GetDelegate()->GetAsWebContents();
if (tab)
inspected_tab_ = TabContentsWrapper::GetCurrentWrapperForContents(tab);
}
@@ -639,7 +639,7 @@ DevToolsWindow* DevToolsWindow::ToggleDevToolsWindow(
bool do_open = force_open;
if (!window) {
Profile* profile = Profile::FromBrowserContext(
- inspected_rvh->process()->GetBrowserContext());
+ inspected_rvh->GetProcess()->GetBrowserContext());
bool docked = profile->GetPrefs()->GetBoolean(prefs::kDevToolsOpenDocked);
window = Create(profile, inspected_rvh, docked, false);
manager->RegisterDevToolsClientHostFor(agent, window->frontend_host_);
« no previous file with comments | « chrome/browser/debugger/devtools_sanity_unittest.cc ('k') | chrome/browser/download/download_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698