diff options
Diffstat (limited to 'chrome/browser/debugger/devtools_window.cc')
-rw-r--r-- | chrome/browser/debugger/devtools_window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc index 0569a9c..d78ac55 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_); |