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

Unified Diff: content/browser/debugger/devtools_manager.cc

Issue 7480028: Removal of Profile from content part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: content/browser/debugger/devtools_manager.cc
diff --git a/content/browser/debugger/devtools_manager.cc b/content/browser/debugger/devtools_manager.cc
index bc8d4f98fd8fbee197785809a71bbf473d360a19..07a916a07d0ab7e0ad4608ca7f148dd14835d7d9 100644
--- a/content/browser/debugger/devtools_manager.cc
+++ b/content/browser/debugger/devtools_manager.cc
@@ -123,7 +123,8 @@ void DevToolsManager::ClientHostClosing(DevToolsClientHost* host) {
NotificationService::current()->Notify(
content::NOTIFICATION_DEVTOOLS_WINDOW_CLOSING,
- Source<Profile>(inspected_rvh->site_instance()->GetProcess()->profile()),
+ Source<content::BrowserContext>(
+ inspected_rvh->site_instance()->GetProcess()->browser_context()),
Details<RenderViewHost>(inspected_rvh));
UnbindClientHost(inspected_rvh, host);

Powered by Google App Engine
This is Rietveld 408576698