summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-27 19:29:56 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-27 19:29:56 +0000
commit74d32ec47f9098ae52997b159cf05342020d72a9 (patch)
tree1a2b178feceea57e0e15250cc7c5fc44114fe436 /chrome/browser/memory_details.cc
parent331bf1416770ae1a2b3649369b596f6f5511bd72 (diff)
downloadchromium_src-74d32ec47f9098ae52997b159cf05342020d72a9.zip
chromium_src-74d32ec47f9098ae52997b159cf05342020d72a9.tar.gz
chromium_src-74d32ec47f9098ae52997b159cf05342020d72a9.tar.bz2
Revert 94332 - Removal of Profile from content part 2.
BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7480028 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/7492051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index 7649775..8d26788 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -135,8 +135,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
continue;
}
process.type = ChildProcessInfo::RENDER_PROCESS;
- Profile* profile =
- Profile::FromBrowserContext(render_process_host->browser_context());
+ Profile* profile = render_process_host->profile();
ExtensionService* extension_service = profile->GetExtensionService();
// The RenderProcessHost may host multiple TabContents. Any