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; |