| Index: content/shell/shell_gtk.cc
|
| diff --git a/content/shell/shell_gtk.cc b/content/shell/shell_gtk.cc
|
| index 25e6dd766209be217d11e8f080f566cd2df0e0e9..2a3fb6e5e5699fb5f714b7ce9b3f34bd049d75b4 100644
|
| --- a/content/shell/shell_gtk.cc
|
| +++ b/content/shell/shell_gtk.cc
|
| @@ -101,6 +101,8 @@ void Shell::PlatformSetIsLoading(bool loading) {
|
| }
|
|
|
| void Shell::PlatformCreateWindow(int width, int height) {
|
| + SizeTo(width, height);
|
| +
|
| if (headless_)
|
| return;
|
|
|
| @@ -194,8 +196,6 @@ void Shell::PlatformCreateWindow(int width, int height) {
|
|
|
| gtk_container_add(GTK_CONTAINER(window_), vbox_);
|
| gtk_widget_show_all(GTK_WIDGET(window_));
|
| -
|
| - SizeTo(width, height);
|
| }
|
|
|
| void Shell::PlatformSetContents() {
|
|
|