Chromium Code Reviews| Index: content/shell/shell_gtk.cc |
| diff --git a/content/shell/shell_gtk.cc b/content/shell/shell_gtk.cc |
| index 25e6dd766209be217d11e8f080f566cd2df0e0e9..733f609f504726d235bed92c2b0a9754abd2b4fc 100644 |
| --- a/content/shell/shell_gtk.cc |
| +++ b/content/shell/shell_gtk.cc |
| @@ -214,6 +214,9 @@ void Shell::SizeTo(int width, int height) { |
| } |
| void Shell::PlatformResizeSubViews() { |
| + if (headless_) |
| + return; |
| + |
| SizeTo(content_width_, content_height_); |
| } |