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

Unified Diff: chrome/browser/notifications/balloon_host.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/notifications/balloon_host.cc
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc
index 0c840a9b3568e9a118976419cfa348697b9b1f48..bfa593f372d7993a48be6d5c83e05c35ed7913c3 100644
--- a/chrome/browser/notifications/balloon_host.cc
+++ b/chrome/browser/notifications/balloon_host.cc
@@ -173,7 +173,9 @@ void BalloonHost::HandleMouseDown() {
balloon_->OnClick();
}
-RendererPreferences BalloonHost::GetRendererPrefs(Profile* profile) const {
+RendererPreferences BalloonHost::GetRendererPrefs(
+ content::BrowserContext* context) const {
+ Profile* profile = static_cast<Profile*>(context);
RendererPreferences preferences;
renderer_preferences_util::UpdateFromSystemSettings(&preferences, profile);
return preferences;

Powered by Google App Engine
This is Rietveld 408576698