Index: chrome/browser/notifications/balloon_host.cc |
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc |
index 3dbefdc2e2fcc631ded49bfebfe5425638f9c1f7..56c6b933364899ed16cc1635f3190beeb6bb84b3 100644 |
--- a/chrome/browser/notifications/balloon_host.cc |
+++ b/chrome/browser/notifications/balloon_host.cc |
@@ -15,6 +15,7 @@ |
#include "chrome/common/bindings_policy.h" |
#include "chrome/common/notification_service.h" |
#include "chrome/common/notification_type.h" |
+#include "chrome/common/render_messages.h" |
#include "chrome/common/renderer_preferences.h" |
#include "chrome/common/url_constants.h" |
@@ -57,7 +58,8 @@ void BalloonHost::Close(RenderViewHost* render_view_host) { |
} |
void BalloonHost::RenderViewCreated(RenderViewHost* render_view_host) { |
- render_view_host->EnablePreferredSizeChangedMode(); |
+ render_view_host->EnablePreferredSizeChangedMode( |
+ kPreferredSizeWidth | kPreferredSizeHeightThisIsSlow); |
} |
void BalloonHost::RenderViewReady(RenderViewHost* render_view_host) { |