Chromium Code Reviews| Index: chrome/browser/notifications/balloon_host.cc |
| diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc |
| index b3baa9b0ac7f1cc40a1d76d1fc47ec0dd15e8cb5..7b44ff7878d63047a2f8aa1e45f4e6aa6e8a0a92 100644 |
| --- a/chrome/browser/notifications/balloon_host.cc |
| +++ b/chrome/browser/notifications/balloon_host.cc |
| @@ -138,6 +138,9 @@ void BalloonHost::Init() { |
| chrome::SetViewType(web_contents_.get(), chrome::VIEW_TYPE_NOTIFICATION); |
| web_contents_->SetDelegate(this); |
| Observe(web_contents_.get()); |
| + renderer_preferences_util::UpdateFromSystemSettings( |
| + web_contents_->GetMutableRendererPrefs(), balloon_->profile()); |
|
stevenjb
2012/08/02 17:17:34
Is this modifying web_contents_->GetMutableRendere
kinaba
2012/08/03 01:39:23
Yes, this is how the function is defined in 2 or 3
|
| + web_contents_->GetRenderViewHost()->SyncRendererPrefs(); |
| web_contents_->GetController().LoadURL( |
| balloon_->notification().content_url(), content::Referrer(), |