| Index: content/shell/shell_mac.mm
|
| diff --git a/content/shell/shell_mac.mm b/content/shell/shell_mac.mm
|
| index f4c6789a6408c2f31cb2ec7a02b5ace648fd064f..28f74843492ec251ea6f9d986ee3a0d326e4c559 100644
|
| --- a/content/shell/shell_mac.mm
|
| +++ b/content/shell/shell_mac.mm
|
| @@ -164,6 +164,10 @@ void Shell::PlatformCreateWindow(int width, int height) {
|
| NSClosableWindowMask |
|
| NSMiniaturizableWindowMask |
|
| NSResizableWindowMask;
|
| + if (headless_) {
|
| + content_rect = NSOffsetRect(initial_window_bounds, -10000, -10000);
|
| + style_mask = NSBorderlessWindowMask;
|
| + }
|
| CrShellWindow* window =
|
| [[CrShellWindow alloc] initWithContentRect:content_rect
|
| styleMask:style_mask
|
|
|