Index: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
index 86bbce9f70c923b21ac279349e118c1686bfbfb6..0fb50244ebd3a951c5333dbc66c8f95e9eab7db7 100644 |
--- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
+++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/notification_source.h" |
+#include "ui/base/cocoa/window_size_constants.h" |
using content::RenderViewHost; |
@@ -129,7 +130,7 @@ class DevtoolsNotificationBridge : public content::NotificationObserver { |
devMode:(BOOL)devMode { |
scoped_nsobject<InfoBubbleWindow> window( |
[[InfoBubbleWindow alloc] |
- initWithContentRect:NSZeroRect |
+ initWithContentRect:ui::kWindowSizeDeterminedLater |
styleMask:NSBorderlessWindowMask |
backing:NSBackingStoreBuffered |
defer:YES]); |