Index: chrome/browser/memory_details.cc |
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc |
index 8d2678821689d8e64b2706a336dc96874f473ab8..179311d2b60549511b64fcbd1165c75de5bbd90d 100644 |
--- a/chrome/browser/memory_details.cc |
+++ b/chrome/browser/memory_details.cc |
@@ -135,7 +135,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() { |
continue; |
} |
process.type = ChildProcessInfo::RENDER_PROCESS; |
- Profile* profile = render_process_host->profile(); |
+ Profile* profile = static_cast<Profile*>(render_process_host->context()); |
ExtensionService* extension_service = profile->GetExtensionService(); |
// The RenderProcessHost may host multiple TabContents. Any |