Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: chrome/browser/memory_details.cc

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works now Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698