| 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..ca63c90c6966f05ae04808a9a4062fde430e28bd 100644
|
| --- a/chrome/browser/notifications/balloon_host.cc
|
| +++ b/chrome/browser/notifications/balloon_host.cc
|
| @@ -66,8 +66,7 @@ const string16& BalloonHost::GetSource() const {
|
|
|
| WebPreferences BalloonHost::GetWebkitPrefs() {
|
| WebPreferences web_prefs =
|
| - RenderViewHostDelegateHelper::GetWebkitPrefs(balloon_->profile(),
|
| - enable_web_ui_);
|
| + RenderViewHostDelegateHelper::GetWebkitPrefs(render_view_host_);
|
| web_prefs.allow_scripts_to_close_windows = true;
|
| return web_prefs;
|
| }
|
|
|