| Index: chrome/browser/debugger/devtools_window.cc
|
| diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc
|
| index 19fa2f3bc533d17a4ae5ea4cfc81c876c70f8207..41e9296646f4210606b3a4b5afe32a60da02ea8e 100644
|
| --- a/chrome/browser/debugger/devtools_window.cc
|
| +++ b/chrome/browser/debugger/devtools_window.cc
|
| @@ -220,7 +220,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);
|
| }
|
| @@ -637,7 +637,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_);
|
|
|