| Index: chrome/browser/notifications/balloon_host.cc
|
| diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc
|
| index 897c29c91cedaead90f1a25db300c3843d1690df..58e40b73d89d6ce6dde2a40c12cd3bfc76278afa 100644
|
| --- a/chrome/browser/notifications/balloon_host.cc
|
| +++ b/chrome/browser/notifications/balloon_host.cc
|
| @@ -66,7 +66,7 @@ const string16& BalloonHost::GetSource() const {
|
|
|
| WebPreferences BalloonHost::GetWebkitPrefs() {
|
| WebPreferences web_prefs =
|
| - RenderViewHostDelegateHelper::GetWebkitPrefs(balloon_->profile(),
|
| + RenderViewHostDelegateHelper::GetWebkitPrefs(render_view_host_,
|
| enable_web_ui_);
|
| web_prefs.allow_scripts_to_close_windows = true;
|
| return web_prefs;
|
|
|