Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: content/shell/shell_gtk.cc

Issue 11777028: GTTF: Fix problems with contents detected by debugallocation: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SizeTo Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698