diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 19:23:38 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 19:23:38 +0000 |
commit | 6205c4f2302239185dd2a93c105c18f0dd14af63 (patch) | |
tree | 9281fac0b7e3d7c1819c6b49384fb80b64dd5ab6 /chrome/browser/debugger | |
parent | fc0a3b6d4bbacdcf2926200e1f854ba5cc40628d (diff) | |
download | chromium_src-6205c4f2302239185dd2a93c105c18f0dd14af63.zip chromium_src-6205c4f2302239185dd2a93c105c18f0dd14af63.tar.gz chromium_src-6205c4f2302239185dd2a93c105c18f0dd14af63.tar.bz2 |
Removal of Profile from content part 2.
BUG=76788
TEST=no change visible
Review URL: http://codereview.chromium.org/7480028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r-- | chrome/browser/debugger/devtools_window.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc index eda78d8..367f7970 100644 --- a/chrome/browser/debugger/devtools_window.cc +++ b/chrome/browser/debugger/devtools_window.cc @@ -566,7 +566,8 @@ DevToolsWindow* DevToolsWindow::ToggleDevToolsWindow( bool do_open = force_open; if (!window) { - Profile* profile = inspected_rvh->process()->profile(); + Profile* profile = Profile::FromBrowserContext( + inspected_rvh->process()->browser_context()); bool docked = profile->GetPrefs()->GetBoolean(prefs::kDevToolsOpenDocked); window = new DevToolsWindow(profile, inspected_rvh, docked, false); manager->RegisterDevToolsClientHostFor(inspected_rvh, window); |